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

depend() {
	need clock hostname klogd
	provide logger
}

start() {
	ebegin "Starting busybox system logging"
	start-stop-daemon --start --exec /sbin/syslogd -- ${SYSLOGD_OPTS}
	eend $?
}

stop () {
	ebegin "Stopping busybox system logging"
	start-stop-daemon --stop --exec /sbin/syslogd
	eend $?
}