add servers from DHCP with iburst option by default

This commit is contained in:
Miroslav Lichvar 2014-09-11 16:17:22 +02:00
parent 4ad5f0b6a1
commit 9f19c56cdc

View File

@ -6,7 +6,7 @@ chrony_config() {
rm -f $SERVERFILE
if [ "$PEERNTP" != "no" ]; then
for server in $new_ntp_servers; do
echo "$server $NTPSERVERARGS" >> $SERVERFILE
echo "$server ${NTPSERVERARGS:-iburst}" >> $SERVERFILE
done
/usr/libexec/chrony-helper is-running &&
/usr/libexec/chrony-helper add-dhclient-servers &&