fix for defect 3556007
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d69aea85f2
commit
977b5c667a
@ -141,18 +141,8 @@ fi
|
||||
if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings
|
||||
if [ -x /etc/init.d/xcatd ] && [ -f "/proc/cmdline" ]; then
|
||||
. /etc/profile.d/xcat.sh
|
||||
/etc/init.d/xcatd reload
|
||||
fi
|
||||
fi
|
||||
%else
|
||||
if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings
|
||||
if [ -n "$INUCLIENTS" ] && [ $INUCLIENTS -eq 1 ]; then
|
||||
#Do nothing in not running system
|
||||
echo "Do not restartxcatd in not running system"
|
||||
else
|
||||
XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/restartxcatd -r
|
||||
fi
|
||||
fi
|
||||
%endif
|
||||
exit 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user