Add INUCLIENTS support for AIX.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing 2011-02-17 06:23:33 +00:00
parent 78e6ac16ff
commit 172d8645f8

View File

@ -102,7 +102,11 @@ if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings
fi
%else
if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings
XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/restartxcatd -r
if [ -n "$INUCLIENTS" ] && [ $INUCLIENTS -eq 1 ]; then
#Do nothing in not running system
else
XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/restartxcatd -r
fi
fi
%endif
exit 0