]>
Commit | Line | Data |
---|---|---|
ac5d49d5 ER |
1 | description "Synchronizes time with ntpdate (NTP client)" |
2 | ||
e9cda19b | 3 | # TODO: act on "have default gateway" |
ac5d49d5 ER |
4 | # start on net-device-added INTERFACE!=lo |
5 | # TODO: run before ntpd | |
6 | ||
7 | start on pld.network-started | |
8 | stop on pld.shutdown-started | |
9 | ||
ac5d49d5 ER |
10 | task |
11 | ||
12 | # mark that ntpdate fail is ok (task marked as done and hwclock skipped) | |
13 | normal exit 0 1 | |
14 | ||
1555be5d | 15 | exec /usr/sbin/ntpdate-wrapper |