summaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/klogd.initd
blob: e1e4324dd2daba39d7c0889329f5c0f634f2e2ee (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
	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 $?
}