summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-11-06 20:24:25 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-11-06 20:24:25 -0500
commitd1f9da0af2a53b7df2996466f2f23c199f3675fd (patch)
treea6df366fdaae27f85745743343c01d753eda95dc /etc/rc.initial
parentcf222376e2883217ad2b4420052d0552c7aa958b (diff)
downloadpfsense-d1f9da0af2a53b7df2996466f2f23c199f3675fd.zip
pfsense-d1f9da0af2a53b7df2996466f2f23c199f3675fd.tar.gz
Nuke old dev bootstrap code that is no longer in use
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial44
1 files changed, 10 insertions, 34 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index 5463a3d..7485e0d 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -1,15 +1,5 @@
#!/bin/sh
-# If recovery console shell option has been specified
-if [ -f "/tmp/donotbootup" ]; then
- /usr/bin/env prompt="%B[%n@%m]%b%/(%h)||RecoveryConsoleShell: " /bin/tcsh
- rm "/tmp/donotbootup"
- echo "Rebooting in 5 seconds... CTRL-C to abort..."
- sleep 5
- /etc/rc.reboot
- exit
-fi
-
# $Id$
# /etc/rc.initial
# part of pfSense by Scott Ullrich
@@ -18,36 +8,22 @@ fi
# 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 developer bootstrap is most likely in progress."
- echo "This operation bootstraps all developer files from"
- echo "pfSense.com and also FreeBSD.org and builds a ISO"
- echo "to verify the environment is sane."
- echo
- echo "During this process, /usr/src is automatically downloaded"
- echo "and many supporting files are built, installed, etc."
- echo
- echo -n "Would you like to tail the progress (y/n) [n]? "
- read ANSWER
- if [ "$ANSWER" = "y" ]; then
- echo
- echo "Tailing developer bootstrap process."
- echo
- echo "Press CTRL-C to abort."
- echo
- echo "Note, this tailing process will exit once the operation is completed."
- 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
#trap : 3
#trap : 4
+# If recovery console shell option has been specified
+if [ -f "/tmp/donotbootup" ]; then
+ /usr/bin/env prompt="%B[%n@%m]%b%/(%h)||RecoveryConsoleShell: " /bin/tcsh
+ rm "/tmp/donotbootup"
+ echo "Rebooting in 5 seconds... CTRL-C to abort..."
+ sleep 5
+ /etc/rc.reboot
+ exit
+fi
+
CONFIG="/cf/conf/config.xml"
WORD="https"
OpenPOWER on IntegriCloud