diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-01-08 17:21:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-01-08 17:21:00 +0000 |
commit | fc373d0ecbf8557e57d9c942d50bb99ddbda9380 (patch) | |
tree | d8d3bd47bd049134f904c42d4469b71e1cdf03e5 | |
parent | f20f6a347c23e5aa58a1b0b19d2f9850d4a160f0 (diff) | |
download | pfsense-fc373d0ecbf8557e57d9c942d50bb99ddbda9380.zip pfsense-fc373d0ecbf8557e57d9c942d50bb99ddbda9380.tar.gz |
Correct status -> service entries for ntpdRELENG_1_2_2_RELEASE
Based on a patch submitted-by: David Rees <drees76+AT+gmail.com>
-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 1e58e7c..5cf3172 100755 --- a/usr/local/www/status_services.php +++ b/usr/local/www/status_services.php @@ -44,6 +44,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; @@ -71,6 +74,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; @@ -99,6 +105,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; |