summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-15 21:05:57 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-15 21:05:57 -0400
commit6c616b93bb8b688396e056f971800bf20cd107fb (patch)
tree23666bf5ff9e1178a39f54d8c496ddf13a4342b6 /etc
parentc1da5030f3552a3c0afb3c157be696a20b34f753 (diff)
downloadpfsense-6c616b93bb8b688396e056f971800bf20cd107fb.zip
pfsense-6c616b93bb8b688396e056f971800bf20cd107fb.tar.gz
Make text prettier and increase timeout to 4 seconds
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.bootup10
1 files changed, 6 insertions, 4 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 0e28748..547d00b 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -34,12 +34,13 @@
function rescue_detect_keypress() {
// How long do you want the script to wait before moving on (in seconds)
- $timeout=3;
- echo "Press R to enter Recovery Mode or press I to launch installer.\n\n";
+ $timeout=4;
+ 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 from a \n";
echo "broken hard disk installation, etc.\n\n";
- echo "Alternatively the installer may be invoked now \n";
- echo "if you do not wish to boot into the liveCD.\n\n"
+ echo "Alternatively the installer 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): {$timeout}\n";
$key = null;
while(!in_array($key, array("r","R"))) {
@@ -63,6 +64,7 @@ function rescue_detect_keypress() {
exit;
}
} elseif (in_array($key, array("!", "~"))) {
+ echo "\n";
touch("/tmp/donotbootup");
exit;
}
OpenPOWER on IntegriCloud