From 5ce4c9b9be2a27deec7479c45f227e73632ba461 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Sat, 9 Mar 2013 17:27:15 +0100 Subject: [PATCH] Move syslogd after network so we can log kernel messages to remote server Since syslogd was started before the network was up, all syslog messages before the network was up were discarded and not send to the remoe syslog server. By moving the syslogd startup until after the network, the kernel boot messages are available on the central syslog. --- packages/sysutils/busybox/init.d/{08_syslogd => 23_syslogd} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename packages/sysutils/busybox/init.d/{08_syslogd => 23_syslogd} (94%) diff --git a/packages/sysutils/busybox/init.d/08_syslogd b/packages/sysutils/busybox/init.d/23_syslogd similarity index 94% rename from packages/sysutils/busybox/init.d/08_syslogd rename to packages/sysutils/busybox/init.d/23_syslogd index d3cf2e3242..3eb91fe548 100644 --- a/packages/sysutils/busybox/init.d/08_syslogd +++ b/packages/sysutils/busybox/init.d/23_syslogd @@ -28,10 +28,10 @@ source /var/config/settings.conf - SYSLOGD_OPTIONS="-L" + SYSLOGD_OPTIONS="-L -D" if [ "$SYSLOG_REMOTE" == "true" -a "$SYSLOG_SERVER" ]; then - SYSLOGD_OPTIONS="$SYSLOGD_OPTIONS -R $SYSLOG_SERVER" + SYSLOGD_OPTIONS="-R $SYSLOG_SERVER $SYSLOGD_OPTIONS" fi if [ -f /storage/.config/syslog.conf ]; then