Hello Perry !
Actually we can retire ntpdate in rc unless we are very tight on memory.
ntpd_flags should add the -g flag. This allows for a big (time
setting) initial (and only one time) step in ntpd. This is the ntpdate
functionality with ntpd normally continuing afterwards. ntpd is fine
when the network is up with loopback interfaces only. It will discover
interfaces going up/down automatically and re-trigger name resolution
when new interfaces come up and unresolved dns-names still exist.
Best regards,
Frank
Perry E. Metzger wrote:
Module Name: src
Committed By: perry
Date: Mon Aug 3 18:43:49 UTC 2009
Modified Files:
src/etc/rc.d: ntpdate
Log Message:
Explicitly set a BEFORE on ntpd, as this can't run while ntpd is
running.
Apparently it is rare for rcorder to place it after ntpd but there was
previously nothing actually preventing it.
Fixes PR 40707 by Ondrej Tuma
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/etc/rc.d/ntpdate
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.