summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-15 21:18:14 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-15 21:18:14 -0400
commit15bb64e416b922755c3afed657c95a6388f609af (patch)
treed054bd1c912dd1de63c1b9cfbeb8458d3b23028d /etc/rc.initial
parent4b68ec30abb77d5aa95dad1218d8a2e6da01af10 (diff)
downloadpfsense-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-xetc/rc.initial5
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
OpenPOWER on IntegriCloud