From 577a1b2072ce4cc00c7bf7b8b966bb61fd98293a Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:13 +0100 Subject: [PATCH] tinyhttpd: use _INSTALL_INIT_SYSV mechanism Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/tinyhttpd/tinyhttpd.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/tinyhttpd/tinyhttpd.mk b/package/tinyhttpd/tinyhttpd.mk index ec47fd97f9..0934b71034 100644 --- a/package/tinyhttpd/tinyhttpd.mk +++ b/package/tinyhttpd/tinyhttpd.mk @@ -16,9 +16,12 @@ endef define TINYHTTPD_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 -D $(@D)/httpd $(TARGET_DIR)/usr/sbin/tinyhttpd + 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 - mkdir -p $(TARGET_DIR)/var/www endef $(eval $(generic-package)) -- 2.30.2