add servers from DHCP with iburst option by default
This commit is contained in:
parent
4ad5f0b6a1
commit
9f19c56cdc
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user