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:
parent
d8312a32ef
commit
3062dd2251
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user