diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-06-02 20:45:53 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-06-02 20:45:53 +0000 |
commit | dab8fd991d1bfdff611945fe45726d8ca7ef50bb (patch) | |
tree | 50bdb1f3a4ef0c2b2d0c01eb9405ad65d6299b4f | |
parent | 773861f62998b54561cf9814925f91ebe26de8e4 (diff) | |
download | pfsense-dab8fd991d1bfdff611945fe45726d8ca7ef50bb.zip pfsense-dab8fd991d1bfdff611945fe45726d8ca7ef50bb.tar.gz |
* Sleep between restarting racoon
* Use vpn_ipsec_force_reload();
* Break when needed
-rwxr-xr-x | usr/local/www/status_services.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php index e29e08d..e42d5a3 100755 --- a/usr/local/www/status_services.php +++ b/usr/local/www/status_services.php @@ -59,7 +59,9 @@ if($_GET['mode'] == "restartservice" and $_GET['service']) { break; case 'racoon': exec("killall -9 racoon"); - vpn_ipsec_configure(true); + sleep(1); + vpn_ipsec_force_reload(); + break; default: restart_service($_GET['service']); break; @@ -85,7 +87,9 @@ if($_GET['mode'] == "startservice" and $_GET['service']) { break; case 'racoon': exec("killall -9 racoon"); - vpn_ipsec_configure(true); + sleep(1); + vpn_ipsec_force_reload(); + break; default: start_service($_GET['service']); break; |