* Use the "iburst" flag. This makes ntpd synchronise in a few seconds rather than

a few minutes by sending an initial burst of messages to the time servers.

svn path=/nixos/trunk/; revision=24119
This commit is contained in:
Eelco Dolstra 2010-10-06 16:03:37 +00:00
parent f2f048db4d
commit 102a1e15ba

View file

@ -20,7 +20,7 @@ let
# chroot to ${stateDir}, we have to specify it as /ntp.drift.
driftfile /ntp.drift
${toString (map (server: "server " + server + "\n") servers)}
${toString (map (server: "server " + server + " iburst\n") servers)}
'';
ntpFlags = "-c ${configFile} -u ${ntpUser}:nogroup -i ${stateDir}";