Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jun 2016 09:56:01 -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-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   Re: svn commit: r301577 - stable/10/etc/periodic/daily
Message-ID:  <201606081656.u58Gu19q088458@slippy.cwsent.com>
In-Reply-To: Message from Andrey Chernov <ache@freebsd.org> of "Wed, 08 Jun 2016 19:02:12 %2B0300." <d95ff390-3520-70cd-9ee1-0712a5850b9f@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <d95ff390-3520-70cd-9ee1-0712a5850b9f@freebsd.org>, Andrey 
Chernov w
rites:
> The code still is called only if $daily_ntpd_leapfile_enable is YES and
> it is NO by default.

Yes, that will be MFCd on Friday, June 10.


-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com> or <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.


> 
> On 08.06.2016 6:08, Cy Schubert wrote:
> > Author: cy
> > Date: Wed Jun  8 03:08:37 2016
> > New Revision: 301577
> > URL: https://svnweb.freebsd.org/changeset/base/301577
> > 
> > Log:
> >   MFC r301102:
> >   
> >   Don't rely on $ntpd_enable to periodically fetch the latest leapfile.
> >   
> >   Suggested by:	cperciva
> > 
> > Modified:
> >   stable/10/etc/periodic/daily/480.leapfile-ntpd
> > Directory Properties:
> >   stable/10/   (props changed)
> > 
> > Modified: stable/10/etc/periodic/daily/480.leapfile-ntpd
> > ===========================================================================
> ===
> > --- stable/10/etc/periodic/daily/480.leapfile-ntpd	Wed Jun  8 02:39:10 201
> 6	(r301576)
> > +++ stable/10/etc/periodic/daily/480.leapfile-ntpd	Wed Jun  8 03:08:37 201
> 6	(r301577)
> > @@ -16,10 +16,10 @@ case "$daily_ntpd_leapfile_enable" in
> >  	case "$daily_ntpd_avoid_congestion" in
> >      	[Yy][Ee][Ss])
> >  	    # Avoid dogpiling
> > -	    (sleep $(jot -r 1 0 86400); service ntpd fetch) &
> > +	    (sleep $(jot -r 1 0 86400); service ntpd onefetch) &
> >  	    ;;
> >  	*)
> > -	    service ntpd fetch
> > +	    service ntpd onefetch
> >  	    ;;
> >  	esac
> >  	;;
> > 
> 





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