diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-11-22 16:54:07 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-12-04 11:25:35 +0100 |
| commit | 12793cc3f8d0a5c115cbeeb663e6f6b802820d45 (patch) | |
| tree | 9fea5cfd0fdc53c633bc63068484b71c243e5773 | |
| parent | 1638044de1e19fb6eccb2399012b992220459f45 (diff) | |
| download | meta-openembedded-12793cc3f8d0a5c115cbeeb663e6f6b802820d45.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.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 b2bc632069..10cbd70f99 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 | |||
| 4 | 4 | ||
| 5 | [Service] | 5 | [Service] |
| 6 | Type=oneshot | 6 | Type=oneshot |
| 7 | ExecStart=/usr/bin/ntpd -q -g -x | 7 | ExecStart=/usr/bin/ntpdate-sync silent |
| 8 | RemainAfterExit=yes | 8 | RemainAfterExit=yes |
| 9 | 9 | ||
| 10 | [Install] | 10 | [Install] |
