From b64e08b39d895e4b6820835b03da9c3cb9bbed04 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Sep 15 2017 09:55:32 +0000 Subject: get TAI-UTC offset and leap seconds from tzdata by default --- diff --git a/chrony.spec b/chrony.spec index 7097b9b..eabedbb 100644 --- a/chrony.spec +++ b/chrony.spec @@ -71,7 +71,9 @@ md5sum -c <<-EOF | (! grep -v 'OK$') EOF # use our vendor zone (2.*pool.ntp.org names include IPv6 addresses) +# and get TAI-UTC offset and leap seconds from tzdata by default sed -e 's|^\(pool \)\(pool.ntp.org\)|\12.%{vendorzone}\2|' \ + -e 's|#\(leapsectz\)|\1|' \ < examples/chrony.conf.example2 > chrony.conf touch -r examples/chrony.conf.example2 chrony.conf