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