diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-04-04 15:05:11 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 15:01:04 +0100 |
commit | 94597229c3ad7b1f834c4f352ade66466d384560 (patch) | |
tree | 5cfd526ebebd7e23851b725e3227c4eceb28549a | |
parent | 9ce30f7175f924eba5779a6d29bf9d676c9d5224 (diff) | |
download | upstream-94597229c3ad7b1f834c4f352ade66466d384560.tar.gz upstream-94597229c3ad7b1f834c4f352ade66466d384560.tar.bz2 upstream-94597229c3ad7b1f834c4f352ade66466d384560.zip |
busybox: fix installation of cron and ntpd scripts in the default config
Fixes: 0b24850e9778 ("busybox: don't install NTP scripts if NTP isn't configured")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 3169a6a7ada17e2ea8ef4641edee68134c04b92b)
-rw-r--r-- | package/utils/busybox/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile index 6463dc0184..0d37086365 100644 --- a/package/utils/busybox/Makefile +++ b/package/utils/busybox/Makefile @@ -118,10 +118,10 @@ endef define Package/busybox/install $(INSTALL_DIR) $(1)/etc/init.d $(CP) $(PKG_INSTALL_DIR)/* $(1)/ -ifneq ($(CONFIG_BUSYBOX_CONFIG_CROND),) +ifneq ($(CONFIG_BUSYBOX_$(BUSYBOX_SYM)_CROND),) $(INSTALL_BIN) ./files/cron $(1)/etc/init.d/cron endif -ifneq ($(CONFIG_BUSYBOX_CONFIG_NTPD),) +ifneq ($(CONFIG_BUSYBOX_$(BUSYBOX_SYM)_NTPD),) $(INSTALL_BIN) ./files/sysntpd $(1)/etc/init.d/sysntpd $(INSTALL_BIN) ./files/ntpd-hotplug $(1)/usr/sbin/ntpd-hotplug endif |