summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_openvpn_cli_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-24 22:35:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-24 22:35:05 +0000
commit3851094fc6d349ca3973c3eba4e3faf20ce8abbb (patch)
tree6fc1731146899affa9f9b34f1a9ad5f312f3fd9c /usr/local/www/vpn_openvpn_cli_edit.php
parent5f78884c96f28ea94f497bba5f241f46a568f6db (diff)
downloadpfsense-3851094fc6d349ca3973c3eba4e3faf20ce8abbb.zip
pfsense-3851094fc6d349ca3973c3eba4e3faf20ce8abbb.tar.gz
* Drop kick reboots bye bye
Diffstat (limited to 'usr/local/www/vpn_openvpn_cli_edit.php')
-rwxr-xr-xusr/local/www/vpn_openvpn_cli_edit.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr/local/www/vpn_openvpn_cli_edit.php b/usr/local/www/vpn_openvpn_cli_edit.php
index 04c3eed..8221e2a 100755
--- a/usr/local/www/vpn_openvpn_cli_edit.php
+++ b/usr/local/www/vpn_openvpn_cli_edit.php
@@ -131,18 +131,15 @@ if (isset($_POST['pull'])) {
$input_errors[] = "Run out of devices for a tunnel of type {$_POST['type']}";
else
$ovpnent['if'] = $nxt_if;
- /* Need to reboot in order to create interfaces cleanly */
- touch($d_sysrebootreqd_path);
+
}
/* Has the enable/disable state changed? */
if (isset($ovpnent['enable']) && isset($_POST['disabled'])) {
- touch($d_sysrebootreqd_path);
touch($d_ovpnclidirty_path);
ovpn_client_kill($id);
ovpn_client_iface_del($id);
}
if (!isset($ovpnent['enable']) && !isset($_POST['disabled'])) {
- touch($d_sysrebootreqd_path);
touch($d_ovpnclidirty_path);
}
}
@@ -155,8 +152,6 @@ if (isset($_POST['pull'])) {
else
$ovpnent['if'] = $nxt_if;
$ovpnent['cport'] = getnxt_port();
- /* I think we have to reboot to have the interface created cleanly */
- touch($d_sysrebootreqd_path);
}
$ovpnent['type'] = $_POST['type'];
$ovpnent['proto'] = $_POST['proto'];
OpenPOWER on IntegriCloud