xcat-server: fix rsyslog if imuxsock is not included in rsyslog.conf

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
arifali 2012-04-11 13:11:39 +00:00
parent 455cd126ca
commit 635505a340

View File

@ -21,6 +21,10 @@ set -e
case "$1" in
configure)
. /etc/profile.d/xcat.sh
if [ ! `grep -i imuxsock /etc/rsyslog.conf` ] ; then
echo \$ModLoad imuxsock >> /etc/rsyslog.conf
service rsyslog restart
fi
xcatconfig -i -d
update-rc.d xcatd enable
if [ -f /tmp/xCAT-server_upgrade.tmp ]; then