diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.initial | 44 |
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" |