summaryrefslogtreecommitdiff
path: root/recipes-support/ntp/files/ntp.conf.patch
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-01-23 12:32:29 -0600
committerJohn Klug <john.klug@multitech.com>2017-01-23 12:32:29 -0600
commit077ac5882dac3d1ff33af36550df173bb5af8217 (patch)
tree17364c835c8fed319548b1fa127de48d81eaa6f1 /recipes-support/ntp/files/ntp.conf.patch
parentd35110e29ce7806177b2e15704fca18896881b7d (diff)
parent599b7325d9eec4eeaf818ff9bd8f5f7a3d7638e2 (diff)
downloadmeta-mlinux-077ac5882dac3d1ff33af36550df173bb5af8217.tar.gz
meta-mlinux-077ac5882dac3d1ff33af36550df173bb5af8217.tar.bz2
meta-mlinux-077ac5882dac3d1ff33af36550df173bb5af8217.zip
Merge branch 'master' of gitlab.multitech.net:mirrors/meta-mlinux
Diffstat (limited to 'recipes-support/ntp/files/ntp.conf.patch')
-rw-r--r--recipes-support/ntp/files/ntp.conf.patch17
1 files changed, 8 insertions, 9 deletions
diff --git a/recipes-support/ntp/files/ntp.conf.patch b/recipes-support/ntp/files/ntp.conf.patch
index 499dac5..2fd26ef 100644
--- a/recipes-support/ntp/files/ntp.conf.patch
+++ b/recipes-support/ntp/files/ntp.conf.patch
@@ -1,7 +1,7 @@
-diff -u old/ntp.conf new/ntp.conf
---- old/ntp.conf 2016-12-21 08:36:33.887646960 -0600
-+++ new/ntp.conf 2016-12-21 08:37:41.115645756 -0600
-@@ -1,7 +1,20 @@
+diff -Naur old/ntp.conf new/ntp.conf
+--- old/ntp.conf 2017-01-17 12:00:15.560426583 -0600
++++ new/ntp.conf 2017-01-17 12:02:11.968426337 -0600
+@@ -1,16 +1,44 @@
-# This is the most basic ntp configuration file
# The driftfile must remain in a place specific to this
# machine - it records the machine specific clock error
@@ -23,22 +23,21 @@ diff -u old/ntp.conf new/ntp.conf
+
# This should be a server that is close (in IP terms)
# to the machine. Add other servers as required.
- # Unless you un-comment the line below ntpd will sync
-@@ -9,8 +22,26 @@
+-# Unless you un-comment the line below ntpd will sync
+-# only against the local system clock.
#
# server time.server.example.com
#
+
-+logfile /var/log/ntp.log
-+
+restrict default kod nomodify notrap nopeer noquery
+restrict -6 default kod nomodify notrap nopeer noquery
+restrict 127.0.0.1 mask 255.255.255.0
+restrict -6 ::1
+
+# GPS Serial data reference (NTP0)
++# This sets the GPS 50 milliseconds slower than the PPS.
+server 127.127.28.0
-+fudge 127.127.28.0 time1 0.080 refid GPS
++fudge 127.127.28.0 time1 0.050 refid GPS
+
+# GPS PPS reference (NTP2)
+server 127.127.28.2 prefer