summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-08-17 18:57:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-08-17 18:57:52 +0000
commit1ef8bc7534bb06cd798e2427eed3d195e2c9764e (patch)
tree8c7c8124e96010aee046e6636977ecffdf860795 /etc
parent25655f580adee2193e555fc125f23531940911a7 (diff)
downloadpfsense-1ef8bc7534bb06cd798e2427eed3d195e2c9764e.zip
pfsense-1ef8bc7534bb06cd798e2427eed3d195e2c9764e.tar.gz
Start racoon_watch.sh script on bootup if racoon is enabled.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.bootup3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 1cd49aa..4929d92 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -326,6 +326,9 @@
upnp_start();
+ if (isset($config['ipsec']['enable']) || isset($config['mobileclients']['enable']))
+ mwexec_bg("/usr/local/sbin/racoon_watch.sh");
+
/* done */
unlink("{$g['varrun_path']}/booting");
$g['booting'] = FALSE;
OpenPOWER on IntegriCloud