Add xcatd to inittab file for AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c0e546a6d4
commit
0daa69aac8
@ -993,6 +993,13 @@ if ($::RUNCMD_RC != 0)
|
||||
xCAT::MsgUtils->message('E', "Could not start xcatd.\n");
|
||||
}
|
||||
|
||||
# for AIX systems add xcatd to the /etc/inittab file
|
||||
if ($::osname eq 'AIX')
|
||||
{
|
||||
my $mkitab_cmd = 'mkitab "xcatd:2:once:/opt/xcat/sbin/xcatd > /dev/console 2>&1" > /dev/null 2>&1';
|
||||
my $rc = system($mkitab_cmd);
|
||||
}
|
||||
|
||||
# more - Linux-only config
|
||||
if ($::osname eq 'Linux')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user