ntpd: drop default /etc/default/ntpd file
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 9 Jul 2014 13:58:23 +0000 (15:58 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 9 Jul 2014 14:00:50 +0000 (16:00 +0200)
With the recent change to the init script the default /etc/default/ntpd file
doesn't do anything, so don't install it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ntp/ntp.mk
package/ntp/ntpd.etc.default [deleted file]

index b60e623a0239639f7e8f75b08cba4130c02af76c..6349aaeb53a30f745ff8d742d99907c7c033366a 100644 (file)
@@ -53,10 +53,6 @@ define NTP_INSTALL_TARGET_CMDS
        $(if $(BR2_PACKAGE_NTP_NTPD), install -m 755 $(@D)/ntpd/ntpd $(TARGET_DIR)/usr/sbin/ntpd)
        test -z "$(NTP_INSTALL_FILES_y)" || install -m 755 $(addprefix $(@D)/,$(NTP_INSTALL_FILES_y)) $(TARGET_DIR)/usr/bin/
        $(INSTALL) -m 644 package/ntp/ntpd.etc.conf $(TARGET_DIR)/etc/ntp.conf
-       @if [ ! -f $(TARGET_DIR)/etc/default/ntpd ]; then \
-               $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/default ; \
-               $(INSTALL) -m 644 package/ntp/ntpd.etc.default $(TARGET_DIR)/etc/default/ntpd ; \
-       fi
 endef
 
 ifeq ($(BR2_PACKAGE_NTP_NTPD),y)
diff --git a/package/ntp/ntpd.etc.default b/package/ntp/ntpd.etc.default
deleted file mode 100644 (file)
index 94e2bc2..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# Start the ntp daemon?
-NTPD=yes