summaryrefslogtreecommitdiffstats
path: root/etc/ntp.conf
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2015-10-16 14:04:16 +0000
committercy <cy@FreeBSD.org>2015-10-16 14:04:16 +0000
commitf8f954a38eb13db0944f3eb5b8cc3493f1d544ff (patch)
treef9cc3ccf1486fe9d6236c2983c1f4dbc2e02bffc /etc/ntp.conf
parent095b2710edf0a3e95923ce849fcd9e3b5a1b5d63 (diff)
downloadFreeBSD-src-f8f954a38eb13db0944f3eb5b8cc3493f1d544ff.zip
FreeBSD-src-f8f954a38eb13db0944f3eb5b8cc3493f1d544ff.tar.gz
Add default leap-seconds file. This should help ntp networks get the
leap second date correct Updates to the file can be obtained from ftp://time.nist.gov/pub/ or ftp://tycho.usno.navy.mil/pub/ntp/. Suggested by: dwmalone Reviewed by: roberto, dwmalone, delphij Approved by: roberto MFC after: 1 week
Diffstat (limited to 'etc/ntp.conf')
-rw-r--r--etc/ntp.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/ntp.conf b/etc/ntp.conf
index ea39877..c4ad0aa 100644
--- a/etc/ntp.conf
+++ b/etc/ntp.conf
@@ -77,3 +77,8 @@ restrict 127.127.1.0
#
#server 127.127.1.0
#fudge 127.127.1.0 stratum 10
+
+# See http://support.ntp.org/bin/view/Support/ConfiguringNTP#Section_6.14.
+# for documentation regarding leapfile. Updates to the file can be obtained
+# from ftp://time.nist.gov/pub/ or ftp://tycho.usno.navy.mil/pub/ntp/.
+leapfile "/etc/ntp/leap-seconds"
OpenPOWER on IntegriCloud