diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-24 22:35:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-24 22:35:05 +0000 |
commit | 3851094fc6d349ca3973c3eba4e3faf20ce8abbb (patch) | |
tree | 6fc1731146899affa9f9b34f1a9ad5f312f3fd9c /usr/local/www/vpn_ipsec.php | |
parent | 5f78884c96f28ea94f497bba5f241f46a568f6db (diff) | |
download | pfsense-3851094fc6d349ca3973c3eba4e3faf20ce8abbb.zip pfsense-3851094fc6d349ca3973c3eba4e3faf20ce8abbb.tar.gz |
* Drop kick reboots bye bye
Diffstat (limited to 'usr/local/www/vpn_ipsec.php')
-rwxr-xr-x | usr/local/www/vpn_ipsec.php | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index f2d3086..f6ea76b 100755 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -43,8 +43,7 @@ if ($_POST) { if ($_POST['apply']) { $retval = 0; - if (!file_exists($d_sysrebootreqd_path)) - $retval = vpn_ipsec_configure(); + $retval = vpn_ipsec_configure(); $savemsg = get_std_save_message($retval); if ($retval == 0) { if (file_exists($d_ipsecconfdirty_path)) @@ -58,13 +57,12 @@ if ($_POST) { write_config(); $retval = 0; - if (!file_exists($d_sysrebootreqd_path)) { - config_lock(); - $retval = vpn_ipsec_configure(); - config_unlock(); - /* reload the filter in the background */ - mwexec_bg("/etc/rc.filter_configure"); - } + config_lock(); + $retval = vpn_ipsec_configure(); + config_unlock(); + /* reload the filter in the background */ + mwexec_bg("/etc/rc.filter_configure"); + $savemsg = get_std_save_message($retval); if ($retval == 0) { if (file_exists($d_ipsecconfdirty_path)) @@ -77,7 +75,6 @@ if ($_GET['act'] == "del") { if ($a_ipsec[$_GET['id']]) { unset($a_ipsec[$_GET['id']]); write_config(); - touch($d_ipsecconfdirty_path); header("Location: vpn_ipsec.php"); exit; } |