diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-09-24 14:30:24 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-09-24 14:38:20 +0200 |
commit | 1c09849f6cf1b8bd94819ca11910ce444c3d3019 (patch) | |
tree | 5ceeb7ebf279d8208045f7ba83264bbed0e45115 /target/linux/orion/generic | |
parent | df9efc94970ccc1e43915839ec3f49d54729cc3d (diff) | |
download | mtk-20170518-1c09849f6cf1b8bd94819ca11910ce444c3d3019.zip mtk-20170518-1c09849f6cf1b8bd94819ca11910ce444c3d3019.tar.gz mtk-20170518-1c09849f6cf1b8bd94819ca11910ce444c3d3019.tar.bz2 |
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 <jo@mein.io>
Diffstat (limited to 'target/linux/orion/generic')
-rw-r--r-- | target/linux/orion/generic/base-files/etc/uci-defaults/09_hardware | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/orion/generic/base-files/etc/uci-defaults/09_hardware b/target/linux/orion/generic/base-files/etc/uci-defaults/09_hardware index 7f727eb..5b30f27 100644 --- a/target/linux/orion/generic/base-files/etc/uci-defaults/09_hardware +++ b/target/linux/orion/generic/base-files/etc/uci-defaults/09_hardware @@ -10,7 +10,7 @@ # This script sets system defaults for the hardware on firstboot # -local hardware=`sed -n /Hardware/s/.*:.//p /proc/cpuinfo` +hardware=`sed -n /Hardware/s/.*:.//p /proc/cpuinfo` wrt350nv2_default() { # leds |