[packages/ntp] define leapfile in config

glen glen at pld-linux.org
Sun Nov 17 16:55:04 CET 2013


commit 33d4d5b8b4328f9cd61bdf2235a812bdfbfd9e71
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 17 17:55:00 2013 +0200

    define leapfile in config

 ntp.conf | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/ntp.conf b/ntp.conf
index 0251abd..005f517 100644
--- a/ntp.conf
+++ b/ntp.conf
@@ -41,6 +41,13 @@ fudge	127.127.1.0 stratum 10
 # it to the file.
 #
 driftfile /var/lib/ntp/drift
+
+# This command loads the NIST leapseconds file and initializes the leapsecond
+# values for the next leapsecond time, expiration time and TAI offset. The file
+# can be obtained directly from NIST national time servers using ftp as the
+# ASCII file pub/leap-seconds.
+leapfile /etc/ntp/ntp.leapseconds
+
 # multicastclient	224.0.1.1 # listen on default 224.0.1.1
 broadcastdelay	0.008
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ntp.git/commitdiff/33d4d5b8b4328f9cd61bdf2235a812bdfbfd9e71



More information about the pld-cvs-commit mailing list