aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/rc.button/failsafe
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-07-24 09:11:35 +0000
committerJohn Crispin <john@openwrt.org>2015-07-24 09:11:35 +0000
commite7b34b2b0dee0deef4d31c9d78f0fd06f56fe439 (patch)
tree20c80dbcb6a3a94e7746d0ee66335c4b4605abaa /package/base-files/files/etc/rc.button/failsafe
parent6edf2f62c89a8a3960d41104223d7c728a210fdd (diff)
downloadupstream-e7b34b2b0dee0deef4d31c9d78f0fd06f56fe439.tar.gz
upstream-e7b34b2b0dee0deef4d31c9d78f0fd06f56fe439.tar.bz2
upstream-e7b34b2b0dee0deef4d31c9d78f0fd06f56fe439.zip
buttons: make all button handler scripts return 0
this is required by the new button timeout feature Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46471
Diffstat (limited to 'package/base-files/files/etc/rc.button/failsafe')
-rwxr-xr-xpackage/base-files/files/etc/rc.button/failsafe2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/etc/rc.button/failsafe b/package/base-files/files/etc/rc.button/failsafe
index bfad810428..ba958fa885 100755
--- a/package/base-files/files/etc/rc.button/failsafe
+++ b/package/base-files/files/etc/rc.button/failsafe
@@ -1,3 +1,5 @@
#!/bin/sh
[ "${TYPE}" = "switch" ] || echo ${BUTTON} > /tmp/failsafe_button
+
+return 0