diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-11-06 15:13:35 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-11-06 15:13:35 +0000 |
commit | 73239086c292eb6019d3fe8d3dacbd9071414073 (patch) | |
tree | b82a4ef0c9af2d7f91d1be25ce6a8bb98c7e14a3 /etc/inc/vpn.inc | |
parent | d78e99053451dde0cb961c59612f4d36a9e31bd7 (diff) | |
download | pfsense-73239086c292eb6019d3fe8d3dacbd9071414073.zip pfsense-73239086c292eb6019d3fe8d3dacbd9071414073.tar.gz |
Surpress killall messages
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index e849028..dc75a0e 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -65,7 +65,7 @@ function vpn_ipsec_failover_configure() { fclose($fd); chmod("{$g['varetc_path']}/sasyncd.conf", 0600); - mwexec("killall sasyncd"); + mwexec("killall sasyncd", true); /* launch sasyncd, oh wise one */ mwexec_bg("/usr/local/sbin/sasyncd -d -v -v -v"); @@ -137,7 +137,7 @@ function vpn_ipsec_configure($ipchg = false) mwexec("/sbin/ifconfig enc0 destroy"); /* kill racoon */ - mwexec("/usr/bin/killall racoon"); + mwexec("/usr/bin/killall racoon", true); killbypid("{$g['varrun_path']}/dnswatch-ipsec.pid"); /* wait for racoon process to die */ @@ -788,14 +788,14 @@ EOD; /* mange racoon process */ if (is_process_running("racoon")) { /* We are already online, reload */ - mwexec("/usr/bin/killall -HUP racoon"); + mwexec("/usr/bin/killall -HUP racoon", true); /* flush SPD entries */ mwexec("/usr/local/sbin/setkey -FP"); mwexec("/usr/local/sbin/setkey -F"); /* load SPD */ mwexec("/usr/local/sbin/setkey -f {$g['varetc_path']}/spd.conf"); /* We are already online, reload */ - mwexec("/usr/bin/killall -HUP racoon"); + mwexec("/usr/bin/killall -HUP racoon", true); } else { /* start racoon */ mwexec("/usr/local/sbin/racoon -f {$g['varetc_path']}/racoon.conf"); @@ -805,7 +805,7 @@ EOD; /* load SPD */ mwexec("/usr/local/sbin/setkey -f {$g['varetc_path']}/spd.conf"); /* We are already online, reload */ - mwexec("/usr/bin/killall -HUP racoon"); + mwexec("/usr/bin/killall -HUP racoon", true); /* start dnswatch, if necessary */ if (count($dnswatch_list) > 0) { @@ -848,7 +848,7 @@ function vpn_ipsec_force_reload() { $ipseccfg = $config['ipsec']; /* kill racoon */ - mwexec("/usr/bin/killall racoon"); + mwexec("/usr/bin/killall racoon", true); /* wait for process to die */ sleep(4); |