From 172d8645f8b04092f36248d9abbbd221260be75c Mon Sep 17 00:00:00 2001 From: sjing Date: Thu, 17 Feb 2011 06:23:33 +0000 Subject: [PATCH] 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 --- perl-xCAT/perl-xCAT.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/perl-xCAT.spec b/perl-xCAT/perl-xCAT.spec index e35dc982c..ce0af2c54 100644 --- a/perl-xCAT/perl-xCAT.spec +++ b/perl-xCAT/perl-xCAT.spec @@ -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