Date: Wed, 6 Oct 2004 19:18:19 -0700 (PDT) From: spam maps <spamrefuse@yahoo.com> To: freebsd-current <freebsd-current@freebsd.org> Subject: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ? Message-ID: <20041007021819.20276.qmail@web54001.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041007021819.20276.qmail>