mongoose: 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:06 +01:00 committed by Peter Korsgaard
parent 9b552430a3
commit d77936d446
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ endef
define MONGOOSE_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 755 $(@D)/examples/web_server/web_server \
$(TARGET_DIR)/usr/sbin/mongoose
endef
define MONGOOSE_INSTALL_INIT_SYSV
$(INSTALL) -D -m 755 package/mongoose/S85mongoose \
$(TARGET_DIR)/etc/init.d/S85mongoose
endef