diff options
author | Ermal <eri@pfsense.org> | 2010-08-31 18:09:48 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-08-31 18:09:48 +0000 |
commit | c48ddff20ecebbbdc26594325b7e9a7005732512 (patch) | |
tree | 7749d62753da06639b5c15c2c339ad7aaef004d4 /usr | |
parent | aa79a72151e03944519dae83d34157fa8a448cf8 (diff) | |
download | pfsense-c48ddff20ecebbbdc26594325b7e9a7005732512.zip pfsense-c48ddff20ecebbbdc26594325b7e9a7005732512.tar.gz |
No functional changes just remove redundant code.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_services.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php index ede7d5f..530a346 100755 --- a/usr/local/www/status_services.php +++ b/usr/local/www/status_services.php @@ -79,8 +79,6 @@ if($_GET['mode'] == "restartservice" and !empty($_GET['service'])) { upnp_action('restart'); break; case 'racoon': - exec("/usr/bin/killall -9 racoon"); - sleep(1); vpn_ipsec_force_reload(); break; case 'openvpn': @@ -125,8 +123,6 @@ if($_GET['mode'] == "startservice" and !empty($_GET['service'])) { upnp_action('start'); break; case 'racoon': - exec("killall -9 racoon"); - sleep(1); vpn_ipsec_force_reload(); break; case 'openvpn': @@ -248,7 +244,6 @@ if(isset($config['dnsmasq']['enable'])) { $pconfig['name'] = "dnsmasq"; $pconfig['description'] = gettext("DNS Forwarder"); $services[] = $pconfig; - unset($pconfig); } $pconfig = array(); |