summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/rc.button
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-11-11 18:12:30 +0000
committerJohn Crispin <john@openwrt.org>2013-11-11 18:12:30 +0000
commitc902a76f4dabbe49904e8a2ebe210e729b91283a (patch)
tree9afa3ab5e2429aee7587b5fb18493889ad20c64a /package/base-files/files/etc/rc.button
parent989783255e2fa5ce374301094a0885c6c4e124f9 (diff)
downloadmtk-20170518-c902a76f4dabbe49904e8a2ebe210e729b91283a.zip
mtk-20170518-c902a76f4dabbe49904e8a2ebe210e729b91283a.tar.gz
mtk-20170518-c902a76f4dabbe49904e8a2ebe210e729b91283a.tar.bz2
base-files: fix typo in rfkill script
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38742
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 d7f4d33..e8d5a9c 100755
--- a/package/base-files/files/etc/rc.button/rfkill
+++ b/package/base-files/files/etc/rc.button/rfkill
@@ -1,6 +1,6 @@
#!/bin/sh
-[ "${ACTION}" = "released" -o -n "{TYPE}" ] || exit 0
+[ "${ACTION}" = "released" -o -n "${TYPE}" ] || exit 0
. /lib/functions.sh