diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-07-03 22:41:06 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-07-03 22:41:06 -0400 |
commit | 32cd7c36b5ed97d2354c7e16fe6048aa38f85c9c (patch) | |
tree | 00d10dddc4587e4584328768ab7cc4de18c2a787 | |
parent | a32c7a23294257e5e23ab9417292905098f48850 (diff) | |
download | pfsense-32cd7c36b5ed97d2354c7e16fe6048aa38f85c9c.zip pfsense-32cd7c36b5ed97d2354c7e16fe6048aa38f85c9c.tar.gz |
Add rc.local.running if rc.local is running so it can reattach after a console logout
-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 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 |