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:
jbjohnso 2011-09-01 12:37:52 +00:00
parent 19b8930767
commit 1d42460911

View File

@ -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);