[arch-projects] [initscripts] [PATCH 09/13] rc.single: Avoid rc.multi syslog start error - use minilogd as in rc.sysinit

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Fri Jun 24 05:14:59 EDT 2011


---
 rc.single |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/rc.single b/rc.single
index dc9687e..1a95ee9 100755
--- a/rc.single
+++ b/rc.single
@@ -29,13 +29,8 @@ if [[ $PREVLEVEL != N ]]; then
 
 	run_hook single_udevsettled
 
-	# try syslog-NG first, then fall back to good ol' syslogd
-	if [[ -x /etc/rc.d/syslog-ng ]]; then
-		/etc/rc.d/syslog-ng start
-	elif [[ -x /etc/rc.d/syslogd ]]; then
-		/etc/rc.d/syslogd start
-		[[ -x /etc/rc.d/klogd ]] && /etc/rc.d/klogd start
-	fi
+	# start up our mini logger until syslog takes over
+	minilogd
 fi
 
 run_hook single_end
-- 
1.7.1



More information about the arch-projects mailing list