From a1a4d654a917521317357ef1d78f4c9f774e3f9a Mon Sep 17 00:00:00 2001 From: sjing Date: Thu, 17 Feb 2011 06:28:27 +0000 Subject: [PATCH] Add INUCLIENTS support for AIX. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/xCAT-server.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/xCAT-server.spec b/xCAT-server/xCAT-server.spec index 4118dde9d..3a403a900 100644 --- a/xCAT-server/xCAT-server.spec +++ b/xCAT-server/xCAT-server.spec @@ -198,7 +198,11 @@ if [ "$1" -gt "1" ]; then #only on upgrade for AIX... #migration issue for monitoring XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/chtab filename=monitorctrl.pm notification -d + 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