From 15fffebfbf27ec69ef44f555de93c94bea87d3d4 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 31 Jul 2005 21:40:58 +0000 Subject: Kill sasyncd before restarting --- etc/inc/vpn.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc/inc/vpn.inc') 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"); } -- cgit v1.1