summaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/klogd.initd
blob: 5cf7e6fd1684bfba3036c6b4ad5db85307531e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 $?
}