diff options
Diffstat (limited to 'package/lighttpd/lighttpd.mk')
-rw-r--r-- | package/lighttpd/lighttpd.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk index 48f733a3d..9f554cbc3 100644 --- a/package/lighttpd/lighttpd.mk +++ b/package/lighttpd/lighttpd.mk @@ -87,6 +87,14 @@ endef LIGHTTPD_POST_INSTALL_TARGET_HOOKS += LIGHTTPD_INSTALL_CONFIG +define LIGHTTPD_INSTALL_INIT_SCRIPT + [ -f $(TARGET_DIR)/etc/init.d/S50lighttpd ] || \ + $(INSTALL) -D -m 755 package/lighttpd/S50lighttpd \ + $(TARGET_DIR)/etc/init.d/S50lighttpd +endef + +LIGHTTPD_POST_INSTALL_TARGET_HOOKS += LIGHTTPD_INSTALL_INIT_SCRIPT + define LIGHTTPD_UNINSTALL_TARGET_CMDS $(RM) $(TARGET_DIR)/usr/sbin/lighttpd $(RM) $(TARGET_DIR)/usr/sbin/lighttpd-angel |