|
|
@@ -79,7 +79,7 @@ failsafe_wait() {
|
|
|
preinit_net_echo "Please press button now to enter failsafe"
|
|
|
pi_failsafe_net_message=false
|
|
|
fs_wait_for_key f 'to enter failsafe mode' $fs_failsafe_wait_timeout && FAILSAFE=true
|
|
|
- [ -f "/tmp/failsafe_button" ] && FAILSAFE=true
|
|
|
+ [ -f "/tmp/failsafe_button" ] && FAILSAFE=true && echo "- failsafe button "`cat /tmp/failsafe_button`" was pressed -"
|
|
|
[ "$FAILSAFE" = "true" ] && export FAILSAFE && touch /tmp/failsafe
|
|
|
fi
|
|
|
}
|