diff options
Diffstat (limited to 'main/busybox-initscripts/klogd.initd')
-rw-r--r-- | main/busybox-initscripts/klogd.initd | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/main/busybox-initscripts/klogd.initd b/main/busybox-initscripts/klogd.initd index d783bccdc7..538017043e 100644 --- a/main/busybox-initscripts/klogd.initd +++ b/main/busybox-initscripts/klogd.initd @@ -1,21 +1,13 @@ #!/sbin/runscript +name="busybox klogd" +command="/sbin/klogd" +command_args="${KLOGD_OPTS}" +pidfile="/var/run/klogd.pid" + depend() { need clock hostname localmount before net 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 $? -} - |