From c6035be89a49869b116a4705289a4766d9a8ff98 Mon Sep 17 00:00:00 2001 From: Peter Wagner Date: Tue, 2 Jan 2018 15:38:07 +0100 Subject: [PATCH] ntpd: remove ntp.conf Signed-off-by: Peter Wagner --- net/ntpd/Makefile | 8 +------- net/ntpd/files/ntp.conf | 26 -------------------------- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 net/ntpd/files/ntp.conf diff --git a/net/ntpd/Makefile b/net/ntpd/Makefile index aafcb1223..bead2a012 100644 --- a/net/ntpd/Makefile +++ b/net/ntpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ntp PKG_VERSION:=4.2.8p10 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ @@ -87,10 +87,6 @@ $(call Package/ntpd/Default/description) This package contains the ntp-keygen. endef -define Package/ntpd/conffiles -/etc/ntp.conf -endef - CONFIGURE_VARS += \ ac_cv_header_md5_h=no \ ac_cv_lib_rt_sched_setscheduler=no \ @@ -118,8 +114,6 @@ define Package/ntpd/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpd/ntpd $(1)/sbin/ $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) ./files/ntpd.hotplug-helper $(1)/usr/sbin/ - $(INSTALL_DIR) $(1)/etc - $(INSTALL_CONF) ./files/ntp.conf $(1)/etc/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/ntpd.init $(1)/etc/init.d/ntpd $(INSTALL_DIR) $(1)/etc/hotplug.d/iface diff --git a/net/ntpd/files/ntp.conf b/net/ntpd/files/ntp.conf deleted file mode 100644 index 8bfb8e3d5..000000000 --- a/net/ntpd/files/ntp.conf +++ /dev/null @@ -1,26 +0,0 @@ -# use a random selection of 4 public stratum 2 servers -# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers - -#restrict default nomodify notrap noquery -#restrict default noquery - -restrict 127.0.0.1 - -driftfile /var/lib/ntp/ntp.drift - -server 0.openwrt.pool.ntp.org iburst -server 1.openwrt.pool.ntp.org iburst -server 2.openwrt.pool.ntp.org iburst -server 3.openwrt.pool.ntp.org iburst - - -# GPS(NMEA)+PPS -#server 127.127.20.0 minpoll 4 prefer -#fudge 127.127.20.0 flag3 1 flag2 0 - -# SMA PPS -#server 127.127.28.0 minpoll 4 prefer -#fudge 127.127.28.0 refid PPS flag3 1 - -#server 192.168.1.253 -