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 *
|
listen on *
|
||||||
|
|
||||||
# sync to a single server
|
# 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
|
# use a random selection of NTP Pool Time Servers
|
||||||
# see http://support.ntp.org/bin/view/Servers/NTPPoolServers
|
# see http://support.ntp.org/bin/view/Servers/NTPPoolServers
|
||||||
<% @ntp_server.each do |server| -%>
|
#servers pool.ntp.org
|
||||||
servers <%= server %>
|
|
||||||
<% end -%>
|
|
||||||
|
|
||||||
# use a specific local timedelta sensor (radio clock, etc)
|
# use a specific local timedelta sensor (radio clock, etc)
|
||||||
#sensor nmea0
|
#sensor nmea0
|
||||||
|
|
Loading…
Add table
Reference in a new issue