From 6d78e6aeb7acdd52729824ea449e45e64db50e12 Mon Sep 17 00:00:00 2001 From: jjhua Date: Thu, 12 Apr 2012 08:11:00 +0000 Subject: [PATCH] rpower cec onstandby -T tooltype support git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/PPC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index a0096a5a2..a909fe58b 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -1904,7 +1904,7 @@ sub preprocess_request { my @masters = xCAT::Utils->get_site_attribute("master"); #When run mkhwconn/lshwconn/rmhwconn with -T fnm for CNM, it will send the command to CEC/Frame direclty, #not through the service node if specified. - if ((($req->{command}->[0] eq "mkhwconn") || ($req->{command}->[0] eq "lshwconn" ) || ($req->{command}->[0] eq "rmhwconn" )) + if ($req->{command}->[0] =~ /^(mkhwconn|lshwconn|rmhwconn|rpower)$/ && ( $req->{opt}->{T} == 1) ) { #for fnm my $reqcopy = {%$req};