ntpd: Use server instead of servers in openntpd.conf.erb
This matches the behaviour of ISC ntpd.
This commit is contained in:
parent
ed60033f31
commit
64fd9500eb
1 changed files with 4 additions and 4 deletions
|
@ -5,13 +5,13 @@
|
|||
listen on *
|
||||
|
||||
# sync to a single server
|
||||
#server ntp.example.org
|
||||
<% @ntp_server.each do |server| -%>
|
||||
server <%= server %>
|
||||
<% end -%>
|
||||
|
||||
# use a random selection of NTP Pool Time Servers
|
||||
# see http://support.ntp.org/bin/view/Servers/NTPPoolServers
|
||||
<% @ntp_server.each do |server| -%>
|
||||
servers <%= server %>
|
||||
<% end -%>
|
||||
#servers pool.ntp.org
|
||||
|
||||
# use a specific local timedelta sensor (radio clock, etc)
|
||||
#sensor nmea0
|
||||
|
|
Loading…
Add table
Reference in a new issue