* 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:
parent
f2f048db4d
commit
102a1e15ba
1 changed files with 1 additions and 1 deletions
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue