add start of xcatd at end of client setup

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2010-09-09 18:22:11 +00:00
parent fdf50421c3
commit a31322f37b

View File

@ -368,8 +368,22 @@ if (($::INIT) && ($::xcatrunningdb2 == 0))
"xCAT is now running on the DB2 database.\n");
}
else
else # client
{
#
# start the daemon
#
my $xcmd;
if ($::osname eq 'AIX')
{
$xcmd = "startsrc -s xcatd";
}
else
{
$xcmd = "service xcatd start";
}
system($xcmd);
xCAT::MsgUtils->message("I", "xCAT DB2 Client setup is complete.\n");
}
} # end initialization