Correct mistake in rpower suspend
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
19b8930767
commit
1d42460911
@ -1203,7 +1203,7 @@ sub power_with_acpistate {
|
||||
}
|
||||
} elsif ($subcommand eq "suspend") {
|
||||
if ($sessdata->{hardpowerstatus} eq "on") {
|
||||
$sessdata->{ipmisession}->subcmd(netfn=>6,command=>6,data=>[3,0],callback=>\&power_response,callback_args=>$sessdata);
|
||||
$sessdata->{ipmisession}->subcmd(netfn=>6,command=>6,data=>[0x83,0],callback=>\&power_response,callback_args=>$sessdata);
|
||||
return;
|
||||
} elsif ($sessdata->{powerstatus} eq "suspended") {
|
||||
xCAT::SvrUtils::sendmsg("suspended",$callback,$sessdata->{node},%allerrornodes);
|
||||
|
Loading…
Reference in New Issue
Block a user