aboutsummaryrefslogtreecommitdiffstats
path: root/core/busybox-initscripts/syslog.initd
diff options
context:
space:
mode:
Diffstat (limited to 'core/busybox-initscripts/syslog.initd')
-rw-r--r--core/busybox-initscripts/syslog.initd7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/busybox-initscripts/syslog.initd b/core/busybox-initscripts/syslog.initd
index 63ef5fc69f..390cd6def3 100644
--- a/core/busybox-initscripts/syslog.initd
+++ b/core/busybox-initscripts/syslog.initd
@@ -1,20 +1,19 @@
#!/sbin/runscript
depend() {
+ need clock hostname klogd
provide logger
}
start() {
ebegin "Starting busybox system logging"
- start-stop-daemon --start --exec /usr/sbin/klogd -- ${KLOGD_OPTS}
- start-stop-daemon --start --exec /usr/sbin/syslogd -- ${SYSLOGD_OPTS}
+ start-stop-daemon --start --exec /sbin/syslogd -- ${SYSLOGD_OPTS}
eend $?
}
stop () {
ebegin "Stopping busybox system logging"
- start-stop-daemon --stop --exec /usr/sbin/klogd
- start-stop-daemon --stop --exec /usr/sbin/syslogd
+ start-stop-daemon --stop --exec /sbin/syslogd
eend $?
}