ntpd: drop default /etc/default/ntpd file
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>
This commit is contained in:
parent
35692bb5e5
commit
6864a744e8
|
@ -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)
|
$(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/
|
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
|
$(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
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_NTP_NTPD),y)
|
ifeq ($(BR2_PACKAGE_NTP_NTPD),y)
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
# Start the ntp daemon?
|
|
||||||
NTPD=yes
|
|
Loading…
Reference in New Issue
Block a user