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
This commit is contained in:
linggao 2010-10-05 18:13:18 +00:00
parent d8312a32ef
commit 3062dd2251

View File

@ -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