summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-05-22 15:32:24 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-05-22 15:32:24 -0400
commit055abc57879dc03ffa45b9a2b593a55aa4a79a86 (patch)
tree4c02237f77c77ea353d703b434d6854fe50c0bbd
parentcdf97b133a5a443dfb2b9d2b8cd52b7b3a42d69f (diff)
downloadpfsense-055abc57879dc03ffa45b9a2b593a55aa4a79a86.zip
pfsense-055abc57879dc03ffa45b9a2b593a55aa4a79a86.tar.gz
Add (C)ontinue option for the impatient
-rwxr-xr-xetc/rc.bootup7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 95bdbc9..b8c9f89 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -40,12 +40,13 @@ function rescue_detect_keypress() {
echo "[ press I to launch the installer ]\n\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 (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 "(I)nstaller may be invoked now if you do \n";
+ echo "not wish to boot into the liveCD environment at this time.\n";
+ echo "(C) continues the LiveCD bootup without further pause.\n\n"
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", "~", "!"))) {
+ while(!in_array($key, array("c", "C", "r","R", "i", "I", "~", "!"))) {
echo chr(8) . "{$timeout}";
`/bin/stty -icanon min 0 time 25`;
$key = trim(`KEY=\`dd count=1 2>/dev/null\`; echo \$KEY`);
OpenPOWER on IntegriCloud