X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Frmilecki.git;a=blobdiff_plain;f=target%2Flinux%2Fbrcm47xx%2Fbase-files%2Fetc%2Fboard.d%2F01_detect;h=357cc7f22432d2803c464de1176197ea2c2182cf;hp=16b81d4fe9a05e3ba08924f7eab1a107967d8b2c;hb=1c09849f6cf1b8bd94819ca11910ce444c3d3019;hpb=df9efc94970ccc1e43915839ec3f49d54729cc3d 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 16b81d4fe9a..357cc7f2243 100755 --- a/target/linux/brcm47xx/base-files/etc/board.d/01_detect +++ b/target/linux/brcm47xx/base-files/etc/board.d/01_detect @@ -175,9 +175,9 @@ detect_by_model() { } -local model="$(sed -ne 's/^machine[ \t]*: //p' /proc/cpuinfo)" -local boardtype="$(nvram get boardtype)" -local boardnum="$(nvram get boardnum)" +model="$(sed -ne 's/^machine[ \t]*: //p' /proc/cpuinfo)" +boardtype="$(nvram get boardtype)" +boardnum="$(nvram get boardnum)" board_config_update