tinyhttpd: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni 2014-11-30 15:18:13 +01:00 committed by Peter Korsgaard
parent 2b7b3f50a7
commit 577a1b2072
1 changed files with 5 additions and 2 deletions

View File

@ -16,9 +16,12 @@ endef
define TINYHTTPD_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/httpd $(TARGET_DIR)/usr/sbin/tinyhttpd
$(INSTALL) -m 0755 -D package/tinyhttpd/S85tinyhttpd \
$(TARGET_DIR)/etc/init.d/S85tinyhttpd
mkdir -p $(TARGET_DIR)/var/www
endef
define TINYHTTPD_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 -D package/tinyhttpd/S85tinyhttpd \
$(TARGET_DIR)/etc/init.d/S85tinyhttpd
endef
$(eval $(generic-package))