summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2011-07-03 22:41:06 -0400
committerScott Ullrich <sullrich@gmail.com>2011-07-03 22:41:06 -0400
commit32cd7c36b5ed97d2354c7e16fe6048aa38f85c9c (patch)
tree00d10dddc4587e4584328768ab7cc4de18c2a787 /etc/rc.initial
parenta32c7a23294257e5e23ab9417292905098f48850 (diff)
downloadpfsense-32cd7c36b5ed97d2354c7e16fe6048aa38f85c9c.zip
pfsense-32cd7c36b5ed97d2354c7e16fe6048aa38f85c9c.tar.gz
Add rc.local.running if rc.local is running so it can reattach after a console logout
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 792f710..ac34e83 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -28,6 +28,11 @@ if [ -f /etc/rc.local ]; then
if [ "$RCLOCALPWD" = "" ]; then
echo ">>> Launching rc.local in background..."
sh /etc/rc.local &
+ else
+ if [ -f /etc/rc.local.running ]; then
+ echo ">>> Launching rc.local.running in background..."
+ sh /etc/rc.local.running &
+ fi
fi
fi
OpenPOWER on IntegriCloud