From 6e9d88a8428fb5edfb6bc605c10da3542730604c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 30 May 2014 10:23:31 -0400 Subject: [PATCH] Fix rpower wake turning off an on system --- xCAT-server/lib/xcat/plugins/ipmi.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index 61d6b5582..3fb44b7cd 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -1541,6 +1541,7 @@ sub power_with_context { return; } elsif ($subcommand eq "wake") { $sessdata->{ipmisession}->subcmd(netfn=>0x3a,command=>0x1d,data=>[0,0],callback=>\&power_response,callback_args=>$sessdata); + return; } elsif (not $argmap{$subcommand}) { xCAT::SvrUtils::sendmsg([1,"unsupported command power $subcommand"],$callback); return;