FS#3339 - ntpdate must be called somewhere on boot to get ntpd in the ballpark
Attached to Project:
Arch Linux
Opened by Luke Hoersten (lhoerste) - Sunday, 16 October 2005, 00:18 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 17 October 2005, 05:42 GMT
Opened by Luke Hoersten (lhoerste) - Sunday, 16 October 2005, 00:18 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 17 October 2005, 05:42 GMT
|
Details
If the clock is too far off, ntpd will not be able to update
it. Most distro's have a separate init script called
"ntp-client" or something that just calls ntpdate first to
get the time close so that ntpd can keep it synced.
|
This task depends upon
Closed by dorphell (dorphell)
Friday, 02 December 2005, 22:31 GMT
Reason for closing: Won't implement
Friday, 02 December 2005, 22:31 GMT
Reason for closing: Won't implement
then it's called on every startup.
greetings
tpowa
if you need ntpdate then feel free to add it to rc.local, as it's described in the ntp wiki.
greetings
tpowa
ntpdate `egrep ^server /etc/ntp.conf | awk '{print $2}'`
before ntpd is started.
rc.local is called after the ntpd daemon starts from DAEMONS() and therefore would do no good.
e.g.:
server ntp1.server.net iburst
server ntp2.server.net iburst
Closing...