summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-30 15:18:06 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-12-01 22:54:50 +0100
commitd77936d446057c9e83040a573f2c3dea59170400 (patch)
tree89c2d1e36d1e8ca0c7be45627791011f36cb69d1
parent9b552430a3a52999d9adfb381561b0f0bd397d25 (diff)
downloadbuildroot-d77936d446057c9e83040a573f2c3dea59170400.tar.gz
buildroot-d77936d446057c9e83040a573f2c3dea59170400.zip
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>
-rw-r--r--package/mongoose/mongoose.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/mongoose/mongoose.mk b/package/mongoose/mongoose.mk
index 35e4b43b2b..7a5d3561d0 100644
--- a/package/mongoose/mongoose.mk
+++ b/package/mongoose/mongoose.mk
@@ -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
OpenPOWER on IntegriCloud