diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-15 21:18:14 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-15 21:18:14 -0400 |
commit | 15bb64e416b922755c3afed657c95a6388f609af (patch) | |
tree | d054bd1c912dd1de63c1b9cfbeb8458d3b23028d /etc/rc.initial | |
parent | 4b68ec30abb77d5aa95dad1218d8a2e6da01af10 (diff) | |
download | pfsense-15bb64e416b922755c3afed657c95a6388f609af.zip pfsense-15bb64e416b922755c3afed657c95a6388f609af.tar.gz |
Exit out to shell immediately if recovery console shell option specified.
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-x | etc/rc.initial | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc.initial b/etc/rc.initial index 666dbc1..a7eaf4e 100755 --- a/etc/rc.initial +++ b/etc/rc.initial @@ -1,5 +1,10 @@ #!/bin/sh +# If recovery console shell option has been specified +if [ -f "/tmp/donotbootup"]; then + exit 0 +fi + # $Id$ # /etc/rc.initial # part of pfSense by Scott Ullrich |