From owner-freebsd-questions@FreeBSD.ORG Sun Jul 2 21:30:47 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDE2316A82D for ; Sun, 2 Jul 2006 21:30:47 +0000 (UTC) (envelope-from jhorne@dfwlp.com) Received: from zeus.int.dfwlp.com (zeus.dfwlp.com [208.11.134.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 099FF4409A for ; Sun, 2 Jul 2006 21:02:17 +0000 (GMT) (envelope-from jhorne@dfwlp.com) Received: from athena.int.dfwlp.com (athena.int.dfwlp.com [192.168.125.83]) (authenticated bits=0) by zeus.int.dfwlp.com (8.13.6/8.13.6) with ESMTP id k62L2DeM012291 for ; Sun, 2 Jul 2006 16:02:14 -0500 (CDT) (envelope-from jhorne@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Sun, 2 Jul 2006 16:02:13 -0500 User-Agent: KMail/1.9.3 References: <44A8315F.3090600@locolomo.org> In-Reply-To: <44A8315F.3090600@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200607021602.13458.jhorne@dfwlp.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on zeus.int.dfwlp.com Subject: Re: setting ntp-servers for ntpdate via dhcp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 21:30:48 -0000 On Sunday 02 July 2006 15:49, Erik N=F8rgaard 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=3D"YES" ntpdate_hosts=3D"us.pool.ntp.org" ntpd_enable=3D"YES" when my system boots, ntpdate forces the time to syncronize (no matter how = far=20 off it is), and then ntp takes over from there. hth, jonathan