summaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/syslog.initd
blob: 86050f1afe333a72a59c75402385a7ee49e828ff (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 localmount
	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 $?
}