From: Michael Tremer Date: Sat, 15 Aug 2009 12:44:51 +0000 (+0200) Subject: ntp: Use an pregenerated config file. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c4520a64dd47a0f26085a2fdacf6d8296df3b9f;p=ipfire-3.x.git ntp: Use an pregenerated config file. Additionally, there should be NO country-related configuration! --- diff --git a/lfs/ntp b/lfs/ntp index f0b5236f8..b931acde7 100644 --- a/lfs/ntp +++ b/lfs/ntp @@ -90,10 +90,9 @@ $(OBJECT): $(objects) --with-binsubdir=sbin cd $(DIR_APP) && make $(PARALLELISMFLAGS) cd $(DIR_APP) && make install - echo "restrict default nomodify noquery" > /etc/ntp.conf - echo "restrict 127.0.0.1" >> /etc.ntp.conf - echo "server de.pool.ntp.org" >> /etc/ntp.conf - echo "driftfile /etc/ntp/drift" >> /etc/ntp.conf + + $(INSTALL_CONFIG) $(DIR_SOURCE)/$(PKG_NAME)/ntp.conf \ + > /etc/ntp.conf $(INSTALL_INITSCRIPT) diff --git a/src/ntp/ntp.conf b/src/ntp/ntp.conf new file mode 100644 index 000000000..4b89e833c --- /dev/null +++ b/src/ntp/ntp.conf @@ -0,0 +1,4 @@ +restrict default nomodify noquery +restrict 127.0.0.1 +server pool.ntp.org +driftfile /etc/ntp/drift