summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-31 21:40:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-31 21:40:58 +0000
commit15fffebfbf27ec69ef44f555de93c94bea87d3d4 (patch)
treeb5a37364bfe8bf051e140d3dcf0ed7deab731f62 /etc/inc/vpn.inc
parent2991a0d6e4c6fccf67003d0e8d9e0f86e90cfaa2 (diff)
downloadpfsense-15fffebfbf27ec69ef44f555de93c94bea87d3d4.zip
pfsense-15fffebfbf27ec69ef44f555de93c94bea87d3d4.tar.gz
Kill sasyncd before restarting
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index ef14af8..b94161c 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -62,6 +62,8 @@ function vpn_ipsec_failover_configure() {
fclose($fd);
chmod("{$g['varetc_path']}/sasyncd.conf", 0600);
+ mwexec("killall sasyncd");
+
/* launch sasyncd, oh wise one */
mwexec_bg("/usr/local/sbin/sasyncd -d -v -v -v");
}
OpenPOWER on IntegriCloud