In message <201711282044.vaskiajw072...@repo.freebsd.org>, Alan Somers writes: > Author: asomers > Date: Tue Nov 28 20:44:10 2017 > New Revision: 326343 > URL: https://svnweb.freebsd.org/changeset/base/326343 > > Log: > Fix fetching ntp leapfile after 325256 > > Submitted by: Ronald Klop <ronald-li...@klop.ws> > Reviewed by: asomers > MFC after: 3 days > X-MFC-With: 325256 > > Modified: > head/etc/rc.d/ntpd > > Modified: head/etc/rc.d/ntpd > ============================================================================= > = > --- head/etc/rc.d/ntpd Tue Nov 28 20:37:27 2017 (r326342) > +++ head/etc/rc.d/ntpd Tue Nov 28 20:44:10 2017 (r326343) > @@ -20,6 +20,8 @@ fetch_cmd="ntpd_fetch_leapfile" > needfetch_cmd="ntpd_needfetch_leapfile" > start_precmd="ntpd_precmd" > > +ntp_tmp_leapfile="/var/run/ntpd.leap-seconds.list" > + > load_rc_config $name > > ntpd_precmd() > @@ -92,15 +94,13 @@ ntpd_init_leapfile() { > } > > ntpd_needfetch_leapfile() { > - local ntp_tmp_leapfile rc verbose > + local rc verbose > > if checkyesno ntp_leapfile_fetch_verbose; then > verbose=echo > else > verbose=: > fi > - > - ntp_tmp_leapfile="/var/run/ntpd.leap-seconds.list" > > ntp_ver_no_src=$(get_ntp_leapfile_ver $ntp_src_leapfile) > ntp_expiry_src=$(get_ntp_leapfile_expiry $ntp_src_leapfile) >
Thanks. -- Cheers, Cy Schubert <cy.schub...@cschubert.com> FreeBSD UNIX: <c...@freebsd.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"