diff options
-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"); } |