summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_ntpd.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/services_ntpd.php')
-rw-r--r--usr/local/www/services_ntpd.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/services_ntpd.php b/usr/local/www/services_ntpd.php
index f3b8c72..d11efc8 100644
--- a/usr/local/www/services_ntpd.php
+++ b/usr/local/www/services_ntpd.php
@@ -83,6 +83,8 @@ if ($_POST) {
if (!empty($_POST["servselect{$i}"])) $config['ntpd']['noselect'].= "{$tserver} ";
}
}
+ if (trim($timeservers) == "")
+ $timeservers = "pool.ntp.org";
$config['system']['timeservers'] = trim($timeservers);
if (!empty($_POST['ntporphan']) && ($_POST['ntporphan'] < 17) && ($_POST['ntporphan'] != '12'))
OpenPOWER on IntegriCloud