bug fix in xCAT-server.spec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
94ade30137
commit
998ccbd977
@ -163,9 +163,10 @@ else
|
||||
echo "Unable to register init scripts on this system"
|
||||
fi
|
||||
if [ "$1" -gt "1" ]; then #only on upgrade...
|
||||
#migration issue for monitoring
|
||||
XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/chtab filename=monitorctrl.pm notification -d
|
||||
|
||||
if [ -f "/proc/cmdline" ]; then # prevent running it during install into chroot image
|
||||
#migration issue for monitoring
|
||||
XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/chtab filename=monitorctrl.pm notification -d
|
||||
/etc/init.d/xcatd restart
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user