summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-30 18:08:29 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-30 18:08:29 -0400
commit34bb5b72bcfcda3f5d112db2ad4183504c4fb5c9 (patch)
tree3bd245e94fdf2957b82195a2549314ae1355ce66 /etc/rc
parenta2d7d8d5b8f6a97d4fe90157086ec00db1b5de28 (diff)
downloadpfsense-34bb5b72bcfcda3f5d112db2ad4183504c4fb5c9.zip
pfsense-34bb5b72bcfcda3f5d112db2ad4183504c4fb5c9.tar.gz
Forgotten emergency shell commit.
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 5845800..8e99d85 100755
--- a/etc/rc
+++ b/etc/rc
@@ -280,6 +280,13 @@ cp /usr/local/lib/php.ini /usr/local/etc/php.ini
echo -n "Launching PHP init system..."
/etc/rc.bootup
+# If a shell was selected from recovery
+# console then just drop to the shell now.
+if [ -f "/tmp/donotbootup" ]; then
+ echo "Dropping to recovery shell."
+ exit 0
+fi
+
echo -n "Starting CRON... "
cd /tmp && /usr/sbin/cron -s 2>/dev/null
echo "done."
OpenPOWER on IntegriCloud