replace sysvinit with newly added subroutines in xCAT::Utils

This commit is contained in:
immarvin 2014-06-11 01:38:16 -07:00
parent 991e039470
commit 3e3be8425b

View File

@ -418,12 +418,14 @@ if ($::INITIALINSTALL || $::FORCE || $::UPDATEINSTALL || $::genCredentials)
if ($::osname eq 'AIX')
{
$xcmd = "$::XCATROOT/sbin/restartxcatd";
system($xcmd);
}
else
{
$xcmd = "/etc/init.d/xcatd restart";
#$xcmd = "/etc/init.d/xcatd restart";
xCAT::Utils->restartservice("xcatd");
}
system($xcmd);
}
# more config needed after xcatd start