diff options
Diffstat (limited to 'main/busybox-initscripts/syslog.initd')
-rw-r--r-- | main/busybox-initscripts/syslog.initd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/main/busybox-initscripts/syslog.initd b/main/busybox-initscripts/syslog.initd new file mode 100644 index 0000000000..390cd6def3 --- /dev/null +++ b/main/busybox-initscripts/syslog.initd @@ -0,0 +1,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 $? +} + |