diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-01-08 17:20:55 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-01-08 17:20:55 +0000 |
commit | 96155ce43c1ae96aead4dd6f311f4c45adeeebf1 (patch) | |
tree | 9035a3456b49dd62545ee2e2084418f22917142e /usr | |
parent | 47d29c1d7aaad13ecf782163606cedb0f92eb61d (diff) | |
download | pfsense-96155ce43c1ae96aead4dd6f311f4c45adeeebf1.zip pfsense-96155ce43c1ae96aead4dd6f311f4c45adeeebf1.tar.gz |
Correct status -> service entries for ntpd
Based on a patch submitted-by: David Rees <drees76+AT+gmail.com>
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_services.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php index 58d7139..c7e9891 100755 --- a/usr/local/www/status_services.php +++ b/usr/local/www/status_services.php @@ -52,6 +52,9 @@ function get_pkg_descr($package_name) { if($_GET['mode'] == "restartservice" and $_GET['service']) { switch($_GET['service']) { + case 'ntpd': + system_ntp_configure(); + break; case 'bsnmpd': services_snmpd_configure(); break; @@ -92,6 +95,9 @@ if($_GET['mode'] == "restartservice" and $_GET['service']) { if($_GET['mode'] == "startservice" and $_GET['service']) { switch($_GET['service']) { + case 'ntpd': + system_ntp_configure(); + break; case 'bsnmpd': services_snmpd_configure(); break; @@ -130,6 +136,9 @@ if($_GET['mode'] == "startservice" and $_GET['service']) { /* stop service */ if($_GET['mode'] == "stopservice" && $_GET['service']) { switch($_GET['service']) { + case 'ntpd': + killbyname("ntpd"); + break; case 'bsnmpd': killbypid("{$g['varrun_path']}/snmpd.pid"); break; |