Date: Wed, 1 Jun 2016 04:37:43 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301102 - head/etc/periodic/daily Message-ID: <201606010437.u514bhg3063349@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Wed Jun 1 04:37:43 2016 New Revision: 301102 URL: https://svnweb.freebsd.org/changeset/base/301102 Log: Don't rely on $ntpd_enable to periodically fetch the latest leapfile. Suggested by: cperciva MFC after: 1 week Modified: head/etc/periodic/daily/480.leapfile-ntpd Modified: head/etc/periodic/daily/480.leapfile-ntpd ============================================================================== --- head/etc/periodic/daily/480.leapfile-ntpd Wed Jun 1 04:18:55 2016 (r301101) +++ head/etc/periodic/daily/480.leapfile-ntpd Wed Jun 1 04:37:43 2016 (r301102) @@ -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?201606010437.u514bhg3063349>