forked from Ivasoft/openwrt
base-files: don't enter failsafe if triggered by switch
Fixes failsafe issues with switches after r38725. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38770
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
#!/bin/sh
|
||||
echo ${BUTTON} > /tmp/failsafe_button
|
||||
|
||||
[ "${TYPE}" = "switch" ] || echo ${BUTTON} > /tmp/failsafe_button
|
||||
|
||||
Reference in New Issue
Block a user