mlichvar pushed to chrony (f20). "add servers from DHCP with iburst option by default"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 8 07:24:51 UTC 2015


>From 9f19c56cdcb44f03f22862a8889bf1da653f127c Mon Sep 17 00:00:00 2001
From: Miroslav Lichvar <mlichvar at redhat.com>
Date: Thu, 11 Sep 2014 16:17:22 +0200
Subject: add servers from DHCP with iburst option by default


diff --git a/chrony.dhclient b/chrony.dhclient
index 30c68ab..66885cb 100644
--- a/chrony.dhclient
+++ b/chrony.dhclient
@@ -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 &&
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/chrony.git/commit/?h=f20&id=9f19c56cdcb44f03f22862a8889bf1da653f127c


More information about the scm-commits mailing list