xref: /freebsd/contrib/ntp/scripts/rc/README (revision 2008043f386721d58158e37e0d7e50df8095942d)
1This directory contains some example rc scripts for ntpd.
2
3In general, ntpd should be started as soon as possible in the boot process. If
4any services require stable system clock, the ntpwait script should be run
5before them as late as possible.
6
7The rc.d contains scripts for systems using rc.d init system (originated in
8NetBSD). If a service requires stable system time, indicate it with TIMESYNC
9dependency and set ntpwait_enable to YES.
10
11For SysV init systems, you'll have to create links as /etc/rc2.d/S20ntpd and
12/etc/rc2.d/S80ntpwait yourself. (The numbers are just examples, try to give
13ntpd as much time as possible to synchronize before running ntpwait).
14