aboutsummaryrefslogtreecommitdiff
path: root/package/sysklogd/sysklogd.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-10-08 11:39:25 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-10-12 13:01:00 +0200
commit526e3d0ac6641c0a969d08f5839aa7b12b0dba9a (patch)
tree5651b3b9c5ccdddb37f108b143e0251e8c2e1ad6 /package/sysklogd/sysklogd.mk
parentd61c8d73d409f4df6162fb32a02617360e4a02e6 (diff)
downloadbuildroot-526e3d0ac6641c0a969d08f5839aa7b12b0dba9a.tar.gz
buildroot-526e3d0ac6641c0a969d08f5839aa7b12b0dba9a.tar.bz2
sysklogd: add initscript
Since we don't handle it in sysvinit inittab any longer let's add an initscript to get things back into plug-and-play shape. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/sysklogd/sysklogd.mk')
-rw-r--r--package/sysklogd/sysklogd.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/sysklogd/sysklogd.mk b/package/sysklogd/sysklogd.mk
index efc5a4d7da..2b60b45469 100644
--- a/package/sysklogd/sysklogd.mk
+++ b/package/sysklogd/sysklogd.mk
@@ -27,4 +27,9 @@ define SYSKLOGD_INSTALL_TARGET_CMDS
fi
endef
+define SYSKLOGD_INSTALL_INIT_SYSV
+ $(INSTALL) -m 755 -D package/sysklogd/S01logging \
+ $(TARGET_DIR)/etc/init.d/S01logging
+endef
+
$(eval $(generic-package))