From e37c9268ab5bbcf5e5c07ad0119abf68bf06185e Mon Sep 17 00:00:00 2001 From: lissav Date: Fri, 27 Aug 2010 15:41:42 +0000 Subject: [PATCH] add restart of xcatd on AIX per defect 3039684 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/perl-xCAT.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/perl-xCAT.spec b/perl-xCAT/perl-xCAT.spec index 2f3f49f1a..dc5d5570f 100644 --- a/perl-xCAT/perl-xCAT.spec +++ b/perl-xCAT/perl-xCAT.spec @@ -100,8 +100,11 @@ if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings /etc/init.d/xcatd reload fi fi +%else +if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings + XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/restartxcatd -r +fi %endif - %changelog * Wed May 2 2007 - Norm Nott nott@us.ibm.com - Made changes to make this work on AIX