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
        ;;
_______________________________________________
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"

Reply via email to