From owner-freebsd-current@FreeBSD.ORG Thu Oct 7 02:18:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7436416A4CF for ; Thu, 7 Oct 2004 02:18:20 +0000 (GMT) Received: from web54001.mail.yahoo.com (web54001.mail.yahoo.com [206.190.36.225]) by mx1.FreeBSD.org (Postfix) with SMTP id D7B5F43D3F for ; Thu, 7 Oct 2004 02:18:19 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Message-ID: <20041007021819.20276.qmail@web54001.mail.yahoo.com> Received: from [147.46.44.181] by web54001.mail.yahoo.com via HTTP; Wed, 06 Oct 2004 19:18:19 PDT Date: Wed, 6 Oct 2004 19:18:19 -0700 (PDT) From: spam maps To: freebsd-current MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2004 02:18:20 -0000 Hello, I'm puzzled by the /etc/rc.d/ntpdate script and I wonder whether the script is wrong, or there is lack of documentation here. In /etc/rc.conf, I am using: ntpdate_enable="YES" ntpd_enable="YES" with servers listed in /etc/ntp.conf. But I wonder if ntpdate instantly adjusts time using the "-b" from default ntpdate_flags. The flags used by the /etc/rc.d/ntpdate script are found in this order: 1. If /etc/ntp.conf exists and has servers listed, then extract the servers from here. 2. If above fails to find servers, then use servers listed in /etc/rc.conf as ntpdate_flags="...". 3. If all that fails, exit ntpdate without doing any time/date modifications. I also wonder whether the default ntpdate_flags (set to "-b") has any effect at all, since it is ignored in case 1. Is something wrongly configured here? Regards, Rob. _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com