[oe-commits] Paul Eggleton : meta-systemd: ntp: update for server config improvements

git at git.openembedded.org git at git.openembedded.org
Mon Jan 14 09:04:09 UTC 2013


Module: meta-openembedded.git
Branch: danny
Commit: a5e669d292791922037253ecb56d15b182551240
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=a5e669d292791922037253ecb56d15b182551240

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Thu Nov 22 16:54:07 2012 +0000

meta-systemd: ntp: update for server config improvements

This makes the service use the ntpdate-sync command which reads the
servers set in /etc/default/ntpdate; if nothing is set then no error is
produced on startup.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../recipes-support/ntp/ntp/ntpdate.service        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service b/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
index b2bc632..10cbd70 100644
--- a/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
+++ b/meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service
@@ -4,7 +4,7 @@ Before=ntpd.service
 
 [Service]
 Type=oneshot
-ExecStart=/usr/bin/ntpd -q -g -x
+ExecStart=/usr/bin/ntpdate-sync silent
 RemainAfterExit=yes
 
 [Install]





More information about the Openembedded-commits mailing list