Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2008 19:46:02 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org, trashy_bumper@yahoo.com
Subject:   Re: NTP on 7.1 BETA amd64 odd behaviour
Message-ID:  <200809181946.03130.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <729756.16851.qm@web110515.mail.gq1.yahoo.com>
References:  <729756.16851.qm@web110515.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 18 September 2008 16:44:40 Nash Nipples wrote:
> thanks for the new /etc/rc.d/ntpd
> ...
>
> > rc_flags="-c ${ntpd_config} ${ntpd_flags}"
>
> ...
> what we can learn from it is that on 7.1 BETA your rc.conf.local file
> should look like this
>
> ntpd_config="/etc/ntpd.conf"
> ntpd_flags="-p /var/run/ntpd.pid"
>
> hope that explains
> Nash

Almost.
Look at /etc/defaults/rc.conf:
ntpd_config="/etc/ntp.conf"     # ntpd(8) configuration file
ntpd_sync_on_start="NO"         # Sync time on ntpd startup, even if offset is 
high
ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift"
                                # Flags to ntpd (if enabled).

99% of the cases you don't need ntpd_flags. Only if you want the drift file in 
a different location or use one of the more obscure options.

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809181946.03130.fbsd.questions>