diff options
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/vpn.inc | 6 |
1 files changed, 0 insertions, 6 deletions
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) { |