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
This commit is contained in:
parent
b5fcb0f274
commit
6588d4c213
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user