summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/rc.button
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-25 20:28:36 +0000
committerJohn Crispin <john@openwrt.org>2013-07-25 20:28:36 +0000
commit3e54dbbf6077261fdb19cf6005b1ddd58d951640 (patch)
tree4bfcd5cda3347919763cdc9ec62e003d1dd4869e /package/base-files/files/etc/rc.button
parentdee22d069fe8ce8380a33b5e1d202e95df70b99e (diff)
downloadmtk-20170518-3e54dbbf6077261fdb19cf6005b1ddd58d951640.zip
mtk-20170518-3e54dbbf6077261fdb19cf6005b1ddd58d951640.tar.gz
mtk-20170518-3e54dbbf6077261fdb19cf6005b1ddd58d951640.tar.bz2
base-files: be verbose when entering failsafe due to a button being pressed
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37535
Diffstat (limited to 'package/base-files/files/etc/rc.button')
-rwxr-xr-xpackage/base-files/files/etc/rc.button/failsafe2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/rc.button/failsafe b/package/base-files/files/etc/rc.button/failsafe
index dcdf7de..b372c04 100755
--- a/package/base-files/files/etc/rc.button/failsafe
+++ b/package/base-files/files/etc/rc.button/failsafe
@@ -1,2 +1,2 @@
#!/bin/sh
-touch /tmp/failsafe_button
+echo ${BUTTON} > /tmp/failsafe_button