From a57983e04fd23ab45c8d023621662220ec57605d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 16 May 2009 01:58:44 -0400 Subject: Do not backspace for now and sleep (1) second in between while loop --- etc/rc.bootup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/rc.bootup b/etc/rc.bootup index 880193c..997e07b 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -44,12 +44,13 @@ function rescue_detect_keypress() { echo "Timeout before auto boot continues (seconds): {$timeout}\n"; $key = null; while(!in_array($key, array("r","R"))) { - echo "^H{$timeout}"; + echo " {$timeout}"; `/bin/stty -icanon min 0 time 10`; $key = trim(`KEY=\`dd count=1 2>/dev/null\`; echo \$KEY`); `/bin/stty icanon`; // Decrement our timeout value $timeout--; + sleep(1); // If we have reached 0 exit and continue on if ($timeout == 0) break; -- cgit v1.1