aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-11-22 16:54:07 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2012-12-13 08:44:50 +0100
commita5e669d292791922037253ecb56d15b182551240 (patch)
tree2c21258e737566c2bc62b270c7d61dda74606c88
parent998770aa3d9aa0a349954ecca62aeca0e4032470 (diff)
downloadmeta-openembedded-a5e669d292791922037253ecb56d15b182551240.tar.gz
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@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service2
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 b2bc63206..10cbd70f9 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]