]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r355100:
authorIan Lepore <ian@FreeBSD.org>
Sun, 22 Dec 2019 17:57:59 +0000 (17:57 +0000)
committerIan Lepore <ian@FreeBSD.org>
Sun, 22 Dec 2019 17:57:59 +0000 (17:57 +0000)
commit127abdc04db20bc646b61a2ed9e7fec7aee7e737
treeda77bfb7ee878ea0753dbe8792932c57cba3bf37
parent3869cc6d4906aca2e02ed1b8cff0ace034c72c25
MFC r355100:

Allow opt-out of automatic ntpd leapfile checking/fetching.

When a system has no internet connection, or when it is configured to obtain
ntpd leapfiles from some source other than the internet, or even when the
sysadmin has decided for some reason to customize ntp.conf to eliminate use
of the leapfile, the rc.d/ntpd script emits various error messages related
to the file.

This change allows setting the rc var ntp_db_leapfile to NONE to disable all
automatic processing related to that file in rc.d/ntpd.

Differential Revision: https://reviews.freebsd.org/D22461
libexec/rc/rc.d/ntpd