summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.bootup11
1 files changed, 6 insertions, 5 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 73fecfe..0d46fb8 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -34,18 +34,19 @@
function rescue_detect_keypress() {
// How long do you want the script to wait before moving on (in seconds)
- $timeout=4;
+ $timeout=9;
echo "\n";
echo "[ Press R to enter recovery mode or ]\n";
echo "[ press I to launch the installer ]\n\n";
- echo "Recovery mode can assist by rescuing config.xml\n";
+ echo "(R)ecovery mode can assist by rescuing config.xml\n";
echo "from a broken hard disk installation, etc.\n\n";
- echo "Alternatively the installer may be invoked now if you do \n";
+ echo "Alternatively the (I)nstaller may be invoked now if you do \n";
echo "not wish to boot into the liveCD environment at this time.\n\n";
- echo "Timeout before auto boot continues (seconds): ";
+ echo "Timeout before auto boot continues (seconds): {$timeout}";
$key = null;
+ exec("/bin/stty erase " . chr(8));
while(!in_array($key, array("r","R", "i", "I", "~", "!"))) {
- echo " {$timeout}";
+ echo chr(8) . "{$timeout}";
`/bin/stty -icanon min 0 time 25`;
$key = trim(`KEY=\`dd count=1 2>/dev/null\`; echo \$KEY`);
`/bin/stty icanon`;
OpenPOWER on IntegriCloud