From d4062f58dbb3c94e674b2fb97613c7b2f1d2c0e3 Mon Sep 17 00:00:00 2001 From: zhanglu Date: Sat, 18 Jan 2020 15:57:56 +0800 Subject: [PATCH] modify the ntp.conf --- ntp.conf | 14 +++++++------- ntp.spec | 8 +++++++- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/ntp.conf b/ntp.conf index 206a865..e088a11 100644 --- a/ntp.conf +++ b/ntp.conf @@ -17,17 +17,17 @@ restrict 127.0.0.1 restrict ::1 # Hosts on local network are less restricted. -#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap +# restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap # Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). -pool 2.VENDORZONE.pool.ntp.org iburst +# pool 2.VENDORZONE.pool.ntp.org iburst # Reduce the maximum number of servers used from the pool. tos maxclock 5 # Enable public key cryptography. -#crypto +# crypto includefile ETCNTP/crypto/pw @@ -36,13 +36,13 @@ includefile ETCNTP/crypto/pw keys ETCNTP/keys # Specify the key identifiers which are trusted. -#trustedkey 4 8 42 +# trustedkey 4 8 42 # Specify the key identifier to use with the ntpdc utility. -#requestkey 8 +# requestkey 8 # Specify the key identifier to use with the ntpq utility. -#controlkey 8 +# controlkey 8 # Enable writing of statistics records. -#statistics clockstats cryptostats loopstats peerstats +# statistics clockstats cryptostats loopstats peerstats diff --git a/ntp.spec b/ntp.spec index 5f29d62..986f75e 100644 --- a/ntp.spec +++ b/ntp.spec @@ -2,7 +2,7 @@ Name: ntp Version: 4.2.8p13 -Release: 3 +Release: 4 Summary: A protocol designed to synchronize the clocks of computers over a network License: MIT and BSD and BSD with advertising URL: https://www.ntp.org/ @@ -206,6 +206,12 @@ popd %{_mandir}/man8/*.8* %changelog +* Sat Jan 18 2020 openEuler Buildteam - 4.2.8p13-4 +- Type:enhancement +- Id:NA +- SUG:NA +- DESC:modify the ntp.conf + * Mon Oct 21 2019 openEuler Buildteam - 4.2.8p13-3 - Type:enhancement - Id:NA -- Gitee