aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-09-02 00:57:26 +0000
committerBill Nottingham <notting@redhat.com>1999-09-02 00:57:26 +0000
commite6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c (patch)
tree519a94d0646687a868681da20d91e311c54f023f /rc.d/rc.sysinit
parentacd1b3af175819b9209cde675deb4a88af32e506 (diff)
downloadinitscripts-e6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c.tar
initscripts-e6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c.tar.gz
initscripts-e6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c.tar.bz2
initscripts-e6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c.tar.xz
initscripts-e6d28cc5aaeabd53ed652eec63c2c22bb3f7e97c.zip
add interactive prompt to make Cristian & Preston happy
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit16
1 files changed, 16 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 1b323314..7295b3a2 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -25,6 +25,16 @@ fi
# Source functions
. /etc/rc.d/init.d/functions
+# Print a banner. ;)
+echo -en "\t\t\tWelcome to "
+[ "$BOOTUP" != "serial" ] && echo -en "\\033[1;31m
+echo -en "Red Hat"
+[ "$BOOTUP" != "serial" ] && echo -en "\\033[0;39m"
+echo " Linux"
+echo -en "\t\tPress 'I' to enter interactive startup."
+echo
+sleep 2
+
# Fix console loglevel
/sbin/loglevel $LOGLEVEL
@@ -367,6 +377,8 @@ if [ ! -f /fastboot ]; then
fi
fi
+
+{
# Mount all other filesystems (except for NFS and /proc, which is already
# mounted). Contrary to standard usage,
# filesystems are NOT unmounted in single user mode.
@@ -453,3 +465,7 @@ EOF
# Now that we have all of our basic modules loaded and the kernel going,
# let's dump the syslog ring somewhere so we can find it later
dmesg > /var/log/dmesg
+killall -TERM getkey >/dev/null 2>&1
+} &
+/sbin/getkey i && touch /tmp/confirm
+wait