From 6dd2a1e4d7b8a330af2b25026c0089dbfc4f3e13 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Mon, 3 Nov 2008 13:33:19 +0000 Subject: Extra sighup not needed on 7 --- etc/inc/vpn.inc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'etc/inc') diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 5cd0897..e849028 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -794,11 +794,8 @@ EOD; mwexec("/usr/local/sbin/setkey -F"); /* load SPD */ mwexec("/usr/local/sbin/setkey -f {$g['varetc_path']}/spd.conf"); - sleep(1); /* We are already online, reload */ mwexec("/usr/bin/killall -HUP racoon"); - sleep(1); - mwexec("/usr/bin/killall -HUP racoon"); } else { /* start racoon */ mwexec("/usr/local/sbin/racoon -f {$g['varetc_path']}/racoon.conf"); @@ -807,11 +804,8 @@ EOD; mwexec("/usr/local/sbin/setkey -F"); /* load SPD */ mwexec("/usr/local/sbin/setkey -f {$g['varetc_path']}/spd.conf"); - sleep(1); /* We are already online, reload */ mwexec("/usr/bin/killall -HUP racoon"); - sleep(1); - mwexec("/usr/bin/killall -HUP racoon"); /* start dnswatch, if necessary */ if (count($dnswatch_list) > 0) { -- cgit v1.1