diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-31 21:40:58 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-31 21:40:58 +0000 |
commit | 15fffebfbf27ec69ef44f555de93c94bea87d3d4 (patch) | |
tree | b5a37364bfe8bf051e140d3dcf0ed7deab731f62 /etc/inc/vpn.inc | |
parent | 2991a0d6e4c6fccf67003d0e8d9e0f86e90cfaa2 (diff) | |
download | pfsense-15fffebfbf27ec69ef44f555de93c94bea87d3d4.zip pfsense-15fffebfbf27ec69ef44f555de93c94bea87d3d4.tar.gz |
Kill sasyncd before restarting
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 2 |
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"); } |