busybox: restore init scripts
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 17 Dec 2013 17:17:00 +0000 (17:17 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 17 Dec 2013 17:17:00 +0000 (17:17 +0000)
Since the removal of the busybox menuconfig entries, the init scripts
for cron, telnet and ntp are not packaged anymore. Unconditionally
ship them from now on.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39123

package/utils/busybox/Makefile

index 0b11a598052f42d4dfa84e2ab7e5bf7ace5f10f4..2cf44770b9f264768ee13a6e8cbb468879926f02 100644 (file)
@@ -31,11 +31,6 @@ else
   BB_MAKE_VERBOSE :=
 endif
 
-init-y :=
-init-$(CONFIG_BUSYBOX_CONFIG_CROND) += cron
-init-$(CONFIG_BUSYBOX_CONFIG_NTPD) += sysntpd
-init-$(CONFIG_BUSYBOX_CONFIG_TELNETD) += telnet
-
 define Package/busybox
   SECTION:=base
   CATEGORY:=Base system
@@ -113,9 +108,9 @@ endef
 define Package/busybox/install
        $(INSTALL_DIR) $(1)/etc/init.d
        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
-       for tmp in $(init-y); do \
-               $(INSTALL_BIN) ./files/$$$$tmp $(1)/etc/init.d/$$$$tmp; \
-       done
+       $(INSTALL_BIN) ./files/cron $(1)/etc/init.d/cron
+       $(INSTALL_BIN) ./files/telnet $(1)/etc/init.d/telnet
+       $(INSTALL_BIN) ./files/sysntpd $(1)/etc/init.d/sysntpd
        -rm -rf $(1)/lib64
 endef