summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/rc.button
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-09-24 14:30:24 +0200
committerJo-Philipp Wich <jo@mein.io>2016-09-24 14:38:20 +0200
commit1c09849f6cf1b8bd94819ca11910ce444c3d3019 (patch)
tree5ceeb7ebf279d8208045f7ba83264bbed0e45115 /package/base-files/files/etc/rc.button
parentdf9efc94970ccc1e43915839ec3f49d54729cc3d (diff)
downloadmtk-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 'package/base-files/files/etc/rc.button')
-rwxr-xr-xpackage/base-files/files/etc/rc.button/rfkill2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/rc.button/rfkill b/package/base-files/files/etc/rc.button/rfkill
index 9e2c12f..fbdda40 100755
--- a/package/base-files/files/etc/rc.button/rfkill
+++ b/package/base-files/files/etc/rc.button/rfkill
@@ -4,7 +4,7 @@
. /lib/functions.sh
-local rfkill_state=0
+rfkill_state=0
wifi_rfkill_set() {
uci set wireless.$1.disabled=$rfkill_state