From 1c09849f6cf1b8bd94819ca11910ce444c3d3019 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 24 Sep 2016 14:30:24 +0200 Subject: treewide: remove bad local shell variable declarations Local variable declarations outside of functions are illegal since the Busybox update to v1.25.0, therfore remove them from the appropriate places. Signed-off-by: Jo-Philipp Wich --- target/linux/brcm47xx/base-files/etc/board.d/01_detect | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/brcm47xx/base-files/etc/board.d/01_detect') 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 16b81d4fe9..357cc7f224 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 -- cgit v1.2.3