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:
parent
455cd126ca
commit
635505a340
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user