summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-08 19:02:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-08 19:02:26 +0000
commitd223f533d1aa0d466e2578c51e20f48e082394cf (patch)
treeb7318215e0474e4c9e3982a9a7aa41ca5673a6d6 /etc/rc.initial
parent3deb916aa0e417599959cd4ebb5871e445805121 (diff)
downloadpfsense-d223f533d1aa0d466e2578c51e20f48e082394cf.zip
pfsense-d223f533d1aa0d466e2578c51e20f48e082394cf.tar.gz
If a bootstrap is in progress, offer to the user the ability to tail its progress on the console
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial13
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index 52ee41e..205e974 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -8,6 +8,19 @@
# Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
# All rights reserved.
+if [ -e /usr/local/etc/rc.d/dev_bootstrap.sh ]; then
+ echo
+ echo "A bootstrap is most likely in progress."
+ echo -n "Would you like to tail the progress [n]? "
+ read ANSWER
+ if [ "$ANSWER" = "y" ]; then
+ echo
+ echo "Press CTRL-C to abort."
+ echo
+ tail -f /tmp/bootup_messages
+ fi
+fi
+
# make sure the user can't kill us by pressing Ctrl-C,
# ctrl-z, etc.
trap : 2
OpenPOWER on IntegriCloud