From e21232fe22e29717e48cabe0bd9e3337d36afcec Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 03 Jun 2014 15:30:52 -0400 Subject: /etc/init.d/rc: Run logger after input loop. If there was no output from the service scripts after syslogd was started, the buffer wouldn't be sent to syslogd. --- diff --git a/src.etc/init.d/rc b/src.etc/init.d/rc index 6747dd0..4e98c08 100755 --- a/src.etc/init.d/rc +++ b/src.etc/init.d/rc @@ -25,6 +25,9 @@ log() exec ${logger} fi done + if [ -f /var/run/syslogd.pid ]; then + printf '%s' "${buf}" | ${logger} + fi } level=${0#*/rc} -- cgit v0.9.1