aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/busybox-initscripts/klogd.initd2
-rw-r--r--main/busybox-initscripts/syslog.initd2
-rw-r--r--main/openrc/openrc.post-install4
3 files changed, 5 insertions, 3 deletions
diff --git a/main/busybox-initscripts/klogd.initd b/main/busybox-initscripts/klogd.initd
index e476da448e..6f83ca1c30 100644
--- a/main/busybox-initscripts/klogd.initd
+++ b/main/busybox-initscripts/klogd.initd
@@ -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
}
diff --git a/main/busybox-initscripts/syslog.initd b/main/busybox-initscripts/syslog.initd
index bc4ff273fd..629d86843b 100644
--- a/main/busybox-initscripts/syslog.initd
+++ b/main/busybox-initscripts/syslog.initd
@@ -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
}
diff --git a/main/openrc/openrc.post-install b/main/openrc/openrc.post-install
index 1057eed416..1c273502c1 100644
--- a/main/openrc/openrc.post-install
+++ b/main/openrc/openrc.post-install
@@ -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