treewide: remove bad local shell variable declarations
[openwrt/openwrt.git] / target / linux / brcm47xx / base-files / etc / board.d / 01_detect
index 16b81d4fe9a05e3ba08924f7eab1a107967d8b2c..357cc7f22432d2803c464de1176197ea2c2182cf 100755 (executable)
@@ -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