X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5b5b4dd41ca3d483868b80aeb040f72628ffd8e6..8ef0e1eb51ad54bbcd21bf22dc3af695120beb2a:/package/base-files/files/lib/preinit/30_failsafe_wait?ds=sidebyside diff --git a/package/base-files/files/lib/preinit/30_failsafe_wait b/package/base-files/files/lib/preinit/30_failsafe_wait index 5f6dd90e4..04dc57df2 100644 --- a/package/base-files/files/lib/preinit/30_failsafe_wait +++ b/package/base-files/files/lib/preinit/30_failsafe_wait @@ -39,7 +39,7 @@ fs_wait_for_key () { rm -f $keypress_wait } & - echo "Press $1 $2" + echo "Press the [$1] key and hit [enter] $2" # if we're on the console we wait for input { while [ -r $keypress_wait ]; do @@ -78,7 +78,6 @@ failsafe_wait() { pi_failsafe_net_message=true preinit_net_echo "Please press button now to enter failsafe" pi_failsafe_net_message=false - echo -n "Press " fs_wait_for_key f 'to enter failsafe mode' $fs_failsafe_wait_timeout && FAILSAFE=true && export FAILSAFE }