summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-01-08 17:21:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2009-01-08 17:21:00 +0000
commitfc373d0ecbf8557e57d9c942d50bb99ddbda9380 (patch)
treed8d3bd47bd049134f904c42d4469b71e1cdf03e5
parentf20f6a347c23e5aa58a1b0b19d2f9850d4a160f0 (diff)
downloadpfsense-RELENG_1_2_2_RELEASE.zip
pfsense-RELENG_1_2_2_RELEASE.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-xusr/local/www/status_services.php9
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;
OpenPOWER on IntegriCloud