mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
85c7f3fb29
There are a few NETGEAR devices which don't terminate the model name in the ART with a NUL byte, at least some NETGEAR WNDR3700v2. The current awk expression doesn't match 0xFF bytes, so AR71XX_MODEL contains lots of trailing 0xFF garbage in this case. Fix this by matching for the first non-printable character and explicitly setting LC_CTYPE=C (probably not strictly necessary on OpenWrt, but will definitely work like this, even when awk supports locales and LANG is set). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 46455 |
||
---|---|---|
.. | ||
base-files | ||
files | ||
generic | ||
image | ||
mikrotik | ||
nand | ||
patches-3.18 | ||
patches-4.1 | ||
base-files.mk | ||
config-3.18 | ||
config-4.1 | ||
Makefile | ||
modules.mk |