Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2006 16:02:13 -0500
From:      Jonathan Horne <jhorne@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: setting ntp-servers for ntpdate via dhcp
Message-ID:  <200607021602.13458.jhorne@dfwlp.com>
In-Reply-To: <44A8315F.3090600@locolomo.org>

index | next in thread | previous in thread | raw e-mail

On Sunday 02 July 2006 15:49, Erik Nørgaard wrote:
> Hi:
>
> There is a dhcp-option, ntp-servers, to set which ntp-server to use. It
> would be quite useful with ntpdate. Does anyone have a patch to ntpdate
> startup script or other hack that use this option? - just before I start
> hacking myself...
>
> Thanks, Erik

my ntp options in /etc/rc.conf look like this:


ntpdate_enable="YES"
ntpdate_hosts="us.pool.ntp.org"
ntpd_enable="YES"

when my system boots, ntpdate forces the time to syncronize (no matter how far 
off it is), and then ntp takes over from there.

hth,
jonathan


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607021602.13458.jhorne>