Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Aug 2016 06:22:09 -0700
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        Andrey Chernov <ache@freebsd.org>
Cc:        Cy Schubert <cy@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r304781 - head/etc/rc.d
Message-ID:  <201608251322.u7PDM9bA004245@slippy.cwsent.com>
In-Reply-To: Message from Andrey Chernov <ache@freebsd.org> of "Thu, 25 Aug 2016 16:02:00 %2B0300." <3deee68f-3b30-8305-6985-422797f66fa0@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <3deee68f-3b30-8305-6985-422797f66fa0@freebsd.org>, Andrey 
Chernov w
rites:
> On 25.08.2016 5:58, Cy Schubert wrote:
> > Author: cy
> > Date: Thu Aug 25 02:58:41 2016
> > New Revision: 304781
> > URL: https://svnweb.freebsd.org/changeset/base/304781
> > 
> > Log:
> >   Add logic to replace the working ntp leap-seconds file in /var/db
> >   if it contains a $FreeBSD$ header. The header will cause the file
> >   to fail checksum of the hash causing ntpd to ignore the file.
> 
> You don't need any logic, just remove $FreeBSD$ keyword from it. ntpd
> can be called manually with this file too.

Yes, it can be called manually too. The script copies /etc/ntp/leap-seconds 
to /var/db/ntpd.leap-seconds.list (if /etc/ntp/leap-seconds has a newer #$ 
[version number] or #@ [expiry] timestamps in it), before any other 
comparisons. There is potential. Having said that, it is a gratuitous step 
and could probably be removed.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





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