openntpd: set time immediately from initscript
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 13 Jan 2016 12:29:04 +0000 (09:29 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 13 Jan 2016 20:43:18 +0000 (21:43 +0100)
commit80003ab6cfce0faaa473d5b99062c905b8f231ba
tree7e0c4a75f90cc7f3975a569e8a10bd539f7ee2cc
parent82f3124522a579d2fa75f9021a16f8494fc7bf25
openntpd: set time immediately from initscript

Match the systemd service file and set time immediately on startup
rather than small steps when it differs a lot.
On embedded scenarios this is better since boards that lack a
battery-backed RTC might start at unix epoch and the time set will delay
for quite a while otherwise.
For boards that do have a battery-backed RTC the behaviour will be
practically the same unless the RTC drifts a lot.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/openntpd/S49ntp