]> 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>
Sun, 3 Dec 2023 07:00:32 +0000 (23:00 -0800)
commit3b3195f6767b39eb33b3523134ef988931c9c86d
tree3e3c92c529f5ed6fb1640d354a5cfa297dc6ca4d
parent06c083f79dd74ba2fcadccbc1b338b8db7f35ef8
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
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42875
usr.sbin/periodic/etc/daily/480.leapfile-ntpd