diff options
Diffstat (limited to 'target/linux/brcm47xx/base-files')
-rwxr-xr-x | target/linux/brcm47xx/base-files/etc/board.d/01_detect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/base-files/etc/board.d/01_detect b/target/linux/brcm47xx/base-files/etc/board.d/01_detect index 357cc7f224..f1022dc13a 100755 --- a/target/linux/brcm47xx/base-files/etc/board.d/01_detect +++ b/target/linux/brcm47xx/base-files/etc/board.d/01_detect @@ -175,7 +175,7 @@ detect_by_model() { } -model="$(sed -ne 's/^machine[ \t]*: //p' /proc/cpuinfo)" +model="$(board_name)" boardtype="$(nvram get boardtype)" boardnum="$(nvram get boardnum)" |