Commit ce73d3dd authored by Adrian Günter's avatar Adrian Günter Committed by Ariadne Conill

main/busybox-initscripts: fix klogd startup klogd should rely on syslog, as...

main/busybox-initscripts: fix klogd startup klogd should rely on syslog, as syslog must already be running for klogd to properly utilize it
parent 08659529
......@@ -6,7 +6,7 @@ command_args="${KLOGD_OPTS}"
pidfile="/var/run/klogd.pid"
depend() {
need clock hostname localmount
need clock hostname localmount syslog
before net
keyword -vserver -lxc
}
......@@ -9,6 +9,6 @@ pidfile="/var/run/syslogd.pid"
start_stop_daemon_args="-g wheel -k 027"
depend() {
need clock hostname klogd localmount
need clock hostname localmount
provide logger
}
......@@ -26,7 +26,9 @@ for i in etc/rc[SL].d/*; do
# add the service to correct "runlevel"
case "$svc" in
hwclock|modules|sysctl|hostname|keymaps|syslog|bootmisc)
syslog|klogd)
rc_update $svc sysinit;;
hwclock|modules|sysctl|hostname|keymaps|bootmisc)
rc_update $svc boot;;
*) rc_update $svc default;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment