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>
$(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)
+++ /dev/null
-# Start the ntp daemon?
-NTPD=yes