2 # Copyright (C) 2006-2010 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
7 grep 'failsafe=' /proc/cmdline > /dev/null && FAILSAFE=true && export FAILSAFE
8 if [ "$FAILSAFE" != "true" ]; then
9 preinit_net_echo "Please press button now to enter failsafe"
10 echo -n "Press CTRL-C or "
11 fs_wait_for_key f 'to enter failsafe mode' $fs_failsafe_wait_timeout && FAILSAFE=true && export FAILSAFE