Maurizio4pastebin

OpenRC /usr/local/etc/conf.d/ntp-client for TrueOS

Oct 19th, 2017
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. # /usr/local/etc/conf.d/ntp-client
  2. # Source: http://data.gpo.zugaina.org/gentoo/net-misc/ntp/files/ntp-client.confd
  3.  
  4. # Command to run to set the clock initially
  5. # Most people should just leave this line alone ...
  6. # however, if you know what you're doing, and you
  7. # want to use ntpd to set the clock, change this to 'ntpd'
  8. NTPCLIENT_CMD="ntpdate"
  9.  
  10. # Options to pass to the above command
  11. # This default setting should work fine but you should
  12. # change the default 'pool.ntp.org' to something closer
  13. # to your machine. See http://www.pool.ntp.org/ or
  14. # try running `netselect -s 3 pool.ntp.org`.
  15. NTPCLIENT_OPTS="-s -b -u \
  16. 0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org \
  17. 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org"
  18.  
  19. # If you use hostnames above, then you should depend on dns
  20. # being up & running before we try to run. Otherwise, you
  21. # can disable this.
  22. rc_use="dns"
Advertisement
Add Comment
Please, Sign In to add comment