Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2018 16:43:59 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Ian Lepore <ian@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r335787 - head/etc/rc.d
Message-ID:  <201806282344.w5SNi0ok085390@slippy.cwsent.com>
In-Reply-To: Message from Ian Lepore <ian@FreeBSD.org> of "Thu, 28 Jun 2018 22:13:32 -0000." <201806282213.w5SMDWta093160@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <201806282213.w5SMDWta093160@repo.freebsd.org>, Ian Lepore 
writes:
> Author: ian
> Date: Thu Jun 28 22:13:32 2018
> New Revision: 335787
> URL: https://svnweb.freebsd.org/changeset/base/335787
>
> Log:
>   When being verbose about various leapfile versions, also mention expiration
> .
>   
>   The expiration date is actually more of a version number than the version
>   date, because expiration changes twice a year, whereas the version only
>   changes when actual leap second events occur (except in USNO leapfiles,
>   which inappropriately bump the version with every expiration date change).
>
> Modified:
>   head/etc/rc.d/ntpd
>
> Modified: head/etc/rc.d/ntpd
> =============================================================================
> =
> --- head/etc/rc.d/ntpd	Thu Jun 28 22:05:29 2018	(r335786)
> +++ head/etc/rc.d/ntpd	Thu Jun 28 22:13:32 2018	(r335787)
> @@ -106,8 +106,8 @@ ntpd_needfetch_leapfile() {
>  	ntp_expiry_src=$(get_ntp_leapfile_expiry $ntp_src_leapfile)
>  	ntp_ver_no_db=$(get_ntp_leapfile_ver $ntp_db_leapfile)
>  	ntp_expiry_db=$(get_ntp_leapfile_expiry $ntp_db_leapfile)
> -	$verbose ntp_src_leapfile version is $ntp_ver_no_src
> -	$verbose ntp_db_leapfile version is $ntp_ver_no_db
> +	$verbose ntp_src_leapfile version is $ntp_ver_no_src expires $ntp_expir
> y_src
> +	$verbose ntp_db_leapfile version is $ntp_ver_no_db expires $ntp_expiry_
> db
>  
>  	if [ "$ntp_ver_no_src" -gt "$ntp_ver_no_db" -o \
>  	     "$ntp_ver_no_src" -eq "$ntp_ver_no_db" -a \
>

Thanks.


-- 
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?201806282344.w5SNi0ok085390>