Added initial version of ntpd module
This commit is contained in:
parent
a7c9df14b8
commit
e75b11402c
3 changed files with 118 additions and 0 deletions
18
ntpd/templates/openntpd.conf.erb
Normal file
18
ntpd/templates/openntpd.conf.erb
Normal file
|
@ -0,0 +1,18 @@
|
|||
# sample ntpd configuration file, see ntpd.conf(5)
|
||||
|
||||
# Addresses to listen on (ntpd does not listen by default)
|
||||
listen on *
|
||||
|
||||
# sync to a single server
|
||||
#server ntp.example.org
|
||||
|
||||
# use a random selection of NTP Pool Time Servers
|
||||
<% ntp_server.each do |server| -%>
|
||||
servers <%= server %>
|
||||
<% end -%>
|
||||
|
||||
# use a specific local timedelta sensor (radio clock, etc)
|
||||
#sensor nmea0
|
||||
|
||||
# use all detected timedelta sensors
|
||||
#sensor *
|
Loading…
Add table
Add a link
Reference in a new issue