]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
periodic/daily/480.leapfile-ntpd: only attempt to refresh leap-seconds.list
authorXin LI <delphij@FreeBSD.org>
Sun, 3 Dec 2023 07:00:32 +0000 (23:00 -0800)
committerXin LI <delphij@FreeBSD.org>
Wed, 6 Dec 2023 06:34:26 +0000 (22:34 -0800)
commit3ef596c6e80562710da09c16558d7351749ea143
treecc4c58b56ef7634a9107049cf9ed13b78b4a4fe9
parente8c442442de21fb9d683690672f12dd237f983d0
periodic/daily/480.leapfile-ntpd: only attempt to refresh leap-seconds.list
when ntpd is enabled.

The leap-seconds.list is used exclusively by ntpd, therefore, do not bother
to perform the fetch when ntpd is not enabled.

PR: conf/275419
Reviewed by: cy, michaelo, imp
Differential Revision: https://reviews.freebsd.org/D42875

(cherry picked from commit 3b3195f6767b39eb33b3523134ef988931c9c86d)
usr.sbin/periodic/etc/daily/480.leapfile-ntpd