aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/klogd.initd
blob: d783bccdc7c94f29fa52654f53f551bffc9cae1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/sbin/runscript

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 $?
}