replace sysvinit with newly added subroutines in xCAT::Utils
This commit is contained in:
parent
1baf28a360
commit
7c98f84c36
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user