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:
parent
9b552430a3
commit
d77936d446
|
@ -29,6 +29,9 @@ endef
|
||||||
define MONGOOSE_INSTALL_TARGET_CMDS
|
define MONGOOSE_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -D -m 755 $(@D)/examples/web_server/web_server \
|
$(INSTALL) -D -m 755 $(@D)/examples/web_server/web_server \
|
||||||
$(TARGET_DIR)/usr/sbin/mongoose
|
$(TARGET_DIR)/usr/sbin/mongoose
|
||||||
|
endef
|
||||||
|
|
||||||
|
define MONGOOSE_INSTALL_INIT_SYSV
|
||||||
$(INSTALL) -D -m 755 package/mongoose/S85mongoose \
|
$(INSTALL) -D -m 755 package/mongoose/S85mongoose \
|
||||||
$(TARGET_DIR)/etc/init.d/S85mongoose
|
$(TARGET_DIR)/etc/init.d/S85mongoose
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue
Block a user