]> 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)
committerPhilip Paeps <philip@FreeBSD.org>
Wed, 14 Feb 2024 06:25:34 +0000 (14:25 +0800)
commit66bb668fe5f2561844f5b79251ea42e1bfce9aee
treec18aef0b2f7335d3bcd1e62327cc24e68ba18a85
parent326f58eade217010f78f1f70ff76e0565bfae2b8
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)
(cherry picked from commit 3ef596c6e80562710da09c16558d7351749ea143)

Security:       FreeBSD-EN-24:01.tzdata
Approved by:    so (gordon)
usr.sbin/periodic/etc/daily/480.leapfile-ntpd