diff options
author | cy <cy@FreeBSD.org> | 2016-06-01 04:37:43 +0000 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2016-06-01 04:37:43 +0000 |
commit | a47611b5e6de4fa1af93c93f483d75af0b9a2c6c (patch) | |
tree | a7de7576e6565e634f0cf83e82ed58099861b304 /etc | |
parent | caed01c6111efbe486df438b362f31274ed33595 (diff) | |
download | FreeBSD-src-a47611b5e6de4fa1af93c93f483d75af0b9a2c6c.zip FreeBSD-src-a47611b5e6de4fa1af93c93f483d75af0b9a2c6c.tar.gz |
Don't rely on $ntpd_enable to periodically fetch the latest
leapfile.
Suggested by: cperciva
MFC after: 1 week
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/periodic/daily/480.leapfile-ntpd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/periodic/daily/480.leapfile-ntpd b/etc/periodic/daily/480.leapfile-ntpd index 8429824..5a3ccce 100755 --- a/etc/periodic/daily/480.leapfile-ntpd +++ b/etc/periodic/daily/480.leapfile-ntpd @@ -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 ;; |