mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
busybox: restore init scripts
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39123 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user