diff options
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/status_services.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php index 62ac314..290ca7d 100755 --- a/usr/local/www/status_services.php +++ b/usr/local/www/status_services.php @@ -117,8 +117,8 @@ if($_GET['mode'] == "stopservice" && $_GET['service']) { case 'miniupnpd': upnp_action('stop'); break; - case 'ntpd': - killbyname("ntpd"); + case 'openntpd': + killbyname("openntpd"); break; case 'sshd': killbyname("sshd"); @@ -182,6 +182,11 @@ if(isset($config['dnsmasq']['enable'])) { unset($pconfig); } +$pconfig['name'] = "openntpd"; +$pconfig['description'] = "NTP clock sync"; +$services[] = $pconfig; +unset($pconfig); + if(isset($config['captiveportal']['enable'])) { $pconfig['name'] = "lighttpd"; $pconfig['description'] = "Captive Portal"; |