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:
nott 2008-11-19 15:22:21 +00:00
parent c0e546a6d4
commit 0daa69aac8

View File

@ -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')
{