diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-18 19:18:12 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-18 19:18:12 -0400 |
commit | 2bc1456bce54940c94cc7a049a49a36b16c06581 (patch) | |
tree | c8229a08e80b0655312df3e2e4accea90f5b1623 /etc | |
parent | 519d2f032ffc01bc2c14055d978f5faddec3c652 (diff) | |
download | pfsense-2bc1456bce54940c94cc7a049a49a36b16c06581.zip pfsense-2bc1456bce54940c94cc7a049a49a36b16c06581.tar.gz |
Do not keep respawning to shell on exit. Alert box is rebooting in 5, sleep for 5 to allow CTRL-C
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.initial | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.initial b/etc/rc.initial index 1b1b468..1d2490d 100755 --- a/etc/rc.initial +++ b/etc/rc.initial @@ -3,6 +3,10 @@ # 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 |