FSP/BPA redundancy: add supporting cec type

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2010-12-16 07:17:12 +00:00
parent 556faa2f88
commit 282726d885

View File

@ -181,7 +181,7 @@ sub powercmd {
push @output, [$node_name, "\'$action\' command not supported for LPAR", -1 ];
return (\@output);
}
} elsif ($$d[4] =~ /^fsp$/) {
} elsif ($$d[4] =~ /^(fsp|cec)$/) {
if($action =~ /^on$/) { $action = "cec_on_autostart"; }
if($action =~ /^off$/) { $action = "cec_off"; }
if($action =~ /^of$/ ) {