From 3062dd2251aded3504ba54b1941a5c45dafb04ef Mon Sep 17 00:00:00 2001 From: linggao Date: Tue, 5 Oct 2010 18:13:18 +0000 Subject: [PATCH] handle rsyslog c4 for rh6 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/syslog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/syslog b/xCAT/postscripts/syslog index 358c825c1..35570a3a1 100755 --- a/xCAT/postscripts/syslog +++ b/xCAT/postscripts/syslog @@ -109,7 +109,7 @@ if [ $isLinux -eq 1 ] && [ -a $sysconfig ]; then #check if it is ryslog version 3, it has totally different settings in /etc/syslog.cong if [ $isRsyslog -eq 1 ]; then - grep "SYSLOGD_OPTIONS" $sysconfig | grep -e "[\-c 3|\-c3]" 2>&1 1> /dev/null + grep "SYSLOGD_OPTIONS" $sysconfig | grep -e "[\-c 3|\-c3|\-c4|\-c 4]" 2>&1 1> /dev/null if [ $? -eq 0 ]; then isC3=1 fi