Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2016 03:09:31 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r301578 - stable/9/etc/periodic/daily
Message-ID:  <201606080309.u5839VjX098660@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Wed Jun  8 03:09:30 2016
New Revision: 301578
URL: https://svnweb.freebsd.org/changeset/base/301578

Log:
  MFC r301102:
  
  Don't rely on $ntpd_enable to periodically fetch the latest leapfile.
  
  Suggested by:	cperciva

Modified:
  stable/9/etc/periodic/daily/480.leapfile-ntpd
Directory Properties:
  stable/9/etc/   (props changed)

Modified: stable/9/etc/periodic/daily/480.leapfile-ntpd
==============================================================================
--- stable/9/etc/periodic/daily/480.leapfile-ntpd	Wed Jun  8 03:08:37 2016	(r301577)
+++ stable/9/etc/periodic/daily/480.leapfile-ntpd	Wed Jun  8 03:09:30 2016	(r301578)
@@ -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?201606080309.u5839VjX098660>