From 3851094fc6d349ca3973c3eba4e3faf20ce8abbb Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 24 Jul 2005 22:35:05 +0000 Subject: * Drop kick reboots bye bye --- usr/local/www/vpn_openvpn_cli_edit.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'usr/local/www/vpn_openvpn_cli_edit.php') 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']; -- cgit v1.1