replace sysvinit with newly added subroutines in xCAT::Utils

This commit is contained in:
immarvin 2014-06-11 01:38:16 -07:00
parent 1baf28a360
commit 7c98f84c36

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