mirror of https://github.com/hak5/openwrt.git
0da9da0d33
My last bugfix (r47538) introduced a new bug in wndr3700_board_detect (again...). Assigning the result of ar71xx_get_mtd_offset_size_format to the model variable before stripping of garbage using awk will cause all NUL bytes to be removed before awk is applied, leading to model strings like "NETGEAR WNDRMACv2NETGEAR", where a NUL byte after the v2 is supposed to terminate the string. Fix by calling ar71xx_get_mtd_offset_size_format twice, once piping to awk directly. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 48075 |
||
---|---|---|
.. | ||
base-files | ||
files | ||
generic | ||
image | ||
mikrotik | ||
nand | ||
patches-4.1 | ||
Makefile | ||
base-files.mk | ||
config-4.1 | ||
modules.mk |