OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Henning Brauer (henningcvs.openbsd.org)
Date: Sat Sep 18 2004 - 15:01:38 CDT


CVSROOT: /cvs
Module name: src
Changes by: henningcvs.openbsd.org 2004/09/18 14:01:38

Modified files:
        usr.sbin/ntpd : client.c ntp.c ntpd.8 ntpd.c ntpd.h

Log message:
add a new -s option, that tells ntpd to set the time using settimeofday()
once at startup. ntpd delays daemonizing until it has done the intial
time setting (or ran into the timeout) in this mode to make sure stuff started
later in rc is not subject to time jumps.
this eleminates the need to run rdate -n beforehands.
with some input from & ok ryan and bob, march music from mickey