[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ntp configuration

Bob Proulx <bob@proulx.com> wrote:
> In the latest ntp configuration the file is /etc/default/ntpdate.  So
> your problem is already fixed and will be in the next Debian release.

A quick hack to /etc/default/ntpdate and all's happy - this uses your
non-local "server" entries in /etc/ntp.conf:

# servers to check
    /usr/bin/awk '/^server/ && $2 !~ /^127/ {print $2}' /etc/ntp.conf 2>/dev/null |
test -z "$NTPSERVERS" && NTPSERVERS="pool.ntp.org"
# additional options for ntpdate

There must be a good reason for not already doing this - but I sure
can't work it out.


Reply to: