summaryrefslogtreecommitdiff
path: root/recipes-support/ntp/files/ntpd-init.patch
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2016-12-20 18:13:03 -0600
committerJohn Klug <john.klug@multitech.com>2016-12-20 18:13:03 -0600
commit179371d9381f86c0d68e0c981ef3fc5dce830aaa (patch)
tree5d54534e5854eae13a8c461dd29b877980aec816 /recipes-support/ntp/files/ntpd-init.patch
parent0f102a28f8323576eadfc20f95050f826197f665 (diff)
parentb2440edd24018fab7cff1e75ba66f1491d7dad60 (diff)
downloadmeta-mlinux-179371d9381f86c0d68e0c981ef3fc5dce830aaa.tar.gz
meta-mlinux-179371d9381f86c0d68e0c981ef3fc5dce830aaa.tar.bz2
meta-mlinux-179371d9381f86c0d68e0c981ef3fc5dce830aaa.zip
Merge gpsd changes to mlinux gitlab master
Diffstat (limited to 'recipes-support/ntp/files/ntpd-init.patch')
-rw-r--r--recipes-support/ntp/files/ntpd-init.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-support/ntp/files/ntpd-init.patch b/recipes-support/ntp/files/ntpd-init.patch
new file mode 100644
index 0000000..fc388f8
--- /dev/null
+++ b/recipes-support/ntp/files/ntpd-init.patch
@@ -0,0 +1,11 @@
+--- old/ntpd 2016-12-19 18:11:58.022663976 -0600
++++ new/ntpd 2016-12-19 18:12:56.618663852 -0600
+@@ -23,7 +23,7 @@
+ # this. If ntpd seems to disappear after a while assume TICKADJ
+ # above is set to a totally incorrect value.
+ echo -n "Starting ntpd: "
+- start-stop-daemon --start -x /usr/sbin/ntpd -- -u ntp:ntp -p /var/run/ntp.pid "$@"
++ start-stop-daemon -N -20 --start -x /usr/sbin/ntpd -- -u ntp:ntp -p /var/run/ntp.pid "$@"
+ echo "done"
+ }
+ stopdaemon(){