From 6588d4c2138741e2fb5eb7c4508ad35b29f1bc6f Mon Sep 17 00:00:00 2001 From: lissav <lissav@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd> Date: Thu, 3 Nov 2011 19:18:26 +0000 Subject: [PATCH] Do not put xcatd in /etc/inittab on Update call, breaks HAMS git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/sbin/xcatconfig b/xCAT-server/sbin/xcatconfig index e63200dbf..eec1c7846 100755 --- a/xCAT-server/sbin/xcatconfig +++ b/xCAT-server/sbin/xcatconfig @@ -284,10 +284,9 @@ if ($::INITIALINSTALL || $::FORCE || $::UPDATEINSTALL) system($mkssys_cmd); use strict; - # + # if not Update, add to inittab, breaks HAMS to add + if (! $::UPDATEINSTALL) { # for AIX systems add xcatd to the /etc/inittab file - # - # add xcatd entry if one does not exist my $rcmd = "/bin/cat /etc/inittab | grep 'xcatd'"; my $outref = xCAT::Utils->runcmd("$rcmd", -1); @@ -299,6 +298,7 @@ if ($::INITIALINSTALL || $::FORCE || $::UPDATEINSTALL) xCAT::MsgUtils->message('E', "Could not set up inittab."); } } + } # add AIX needed exports &setupAIXexports;