From d1b206b16027387e51f493b4ad44c3efc0af8203 Mon Sep 17 00:00:00 2001 From: linggao Date: Tue, 5 Oct 2010 18:22:56 +0000 Subject: [PATCH] fix in syslog script for rh git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7757 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 35570a3a1..fcff93555 100755 --- a/xCAT/postscripts/syslog +++ b/xCAT/postscripts/syslog @@ -74,7 +74,7 @@ if [[ $NTYPE = service ]]; then fi if [[ $OSTYPE = linux* ]]; then - if [[ $OSVER = fedora* ]] || [[ $OSVER = rhels5* ]] || [[ $OSVER = rhel6* ]] || [[ $OSVER = rhels6* ]] || [[ -f /etc/fedora-release ]]; then + if [[ $OSVER = fedora* ]] || [[ $OSVER = rhels5* ]] || [[ $OSVER = rhel6* ]] || [[ $OSVER = rhels6* ]] || [[ -f /etc/fedora-release ]] || [[ -f /etc/redhat-release ]]; then if [ -e /etc/rsyslog.conf ]; then conf_file="/etc/rsyslog.conf" sysconfig="/etc/sysconfig/rsyslog"