diff options
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index a7b70a5..4c38440 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1243,10 +1243,8 @@ function system_ntp_configure($start_ntpd=true) { $ntpcfg .= "\n\n# Upstream Servers\n"; /* foreach through servers and write out to ntpd.conf */ - if (is_array($config['system']['timeservers'])) { - foreach (explode(' ', $config['system']['timeservers']) as $ts) - $ntpcfg .= "server {$ts} iburst maxpoll 9\n"; - } +- foreach (explode(' ', $config['system']['timeservers']) as $ts) +- $ntpcfg .= "server {$ts} iburst maxpoll 9\n"; $ntpcfg .= "enable monitor\n"; $ntpcfg .= "enable stats\n"; |