mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-11 05:11:27 +00:00
base-files: remove redundant "Press " when writing enter failsafe message
SVN-Revision: 20393
This commit is contained in:
parent
163b15f5bb
commit
c63fd559fc
@ -7,7 +7,6 @@ failsafe_wait() {
|
|||||||
grep -q 'failsafe=' /proc/cmdline && FAILSAFE=true && export FAILSAFE
|
grep -q 'failsafe=' /proc/cmdline && FAILSAFE=true && export FAILSAFE
|
||||||
if [ "$FAILSAFE" != "true" ]; then
|
if [ "$FAILSAFE" != "true" ]; then
|
||||||
preinit_net_echo "Please press button now to enter failsafe"
|
preinit_net_echo "Please press button now to enter failsafe"
|
||||||
echo -n "Press "
|
|
||||||
fs_wait_for_key f 'to enter failsafe mode' $fs_failsafe_wait_timeout && FAILSAFE=true && export FAILSAFE
|
fs_wait_for_key f 'to enter failsafe mode' $fs_failsafe_wait_timeout && FAILSAFE=true && export FAILSAFE
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user