xref: /freebsd/contrib/ntp/scripts/rc/README (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
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