5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?

spam maps spamrefuse at yahoo.com
Wed Oct 6 19:18:20 PDT 2004


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


More information about the freebsd-current mailing list