5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?
From: spam maps (spamrefuse_at_yahoo.com)
Date: 10/07/04
- Previous message: Vlad: "Re: [BETA7-panic] sodealloc(): so_count 1"
- Next in thread: Ruslan Ermilov: "Re: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?"
- Reply: Ruslan Ermilov: "Re: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?"
- Maybe reply: spam maps: "Re: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?"
- Maybe reply: spam maps: "Re: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 6 Oct 2004 19:18:19 -0700 (PDT) To: freebsd-current <freebsd-current@freebsd.org>
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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Vlad: "Re: [BETA7-panic] sodealloc(): so_count 1"
- Next in thread: Ruslan Ermilov: "Re: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?"
- Reply: Ruslan Ermilov: "Re: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?"
- Maybe reply: spam maps: "Re: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?"
- Maybe reply: spam maps: "Re: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|