diff options
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-x | package/base-files/files/etc/rc.button/failsafe | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/files/etc/rc.button/failsafe b/package/base-files/files/etc/rc.button/failsafe index b372c04c4e..bfad810428 100755 --- a/package/base-files/files/etc/rc.button/failsafe +++ b/package/base-files/files/etc/rc.button/failsafe @@ -1,2 +1,3 @@ #!/bin/sh -echo ${BUTTON} > /tmp/failsafe_button + +[ "${TYPE}" = "switch" ] || echo ${BUTTON} > /tmp/failsafe_button |