From 15bb64e416b922755c3afed657c95a6388f609af Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 15 May 2009 21:18:14 -0400 Subject: Exit out to shell immediately if recovery console shell option specified. --- etc/rc.initial | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.1