From: Paul Eggleton <[email protected]>

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 <[email protected]>
Signed-off-by: Martin Jansa <[email protected]>
---
 meta-systemd/meta-networking/recipes-support/ntp/ntp/ntpdate.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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]
-- 
1.8.0


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to