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