From b0a83e81230c8a6e83c139307079b33c1cd9441f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 11 Jun 2009 13:25:47 +0000 Subject: core/busybox-initscripts: added klogd script and mdev stuff we split the syslogd and klogd into different scripts since klog should not be run in vserver while syslog should. the mdev config and helper scripts were moved from alpine-baselayout too --- core/busybox-initscripts/klogd.initd | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 core/busybox-initscripts/klogd.initd (limited to 'core/busybox-initscripts/klogd.initd') diff --git a/core/busybox-initscripts/klogd.initd b/core/busybox-initscripts/klogd.initd new file mode 100644 index 0000000000..5cf7e6fd16 --- /dev/null +++ b/core/busybox-initscripts/klogd.initd @@ -0,0 +1,20 @@ +#!/sbin/runscript + +depend() { + need clock hostname + provide logger + keyword novserver +} + +start() { + ebegin "Starting busybox kernel logging" + start-stop-daemon --start --exec /sbin/klogd -- ${KLOGD_OPTS} + eend $? +} + +stop () { + ebegin "Stopping busybox kernel logging" + start-stop-daemon --stop --exec /sbin/klogd + eend $? +} + -- cgit v1.2.3