svn commit: r304781 - head/etc/rc.d

Cy Schubert Cy.Schubert at komquats.com
Thu Aug 25 13:24:48 UTC 2016


In message <3deee68f-3b30-8305-6985-422797f66fa0 at 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 at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

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




More information about the svn-src-all mailing list