add the onstandby function to rpower

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2011-06-23 06:09:28 +00:00
parent 4234c63ce2
commit da0fc10899

View File

@ -192,7 +192,7 @@ sub powercmd {
if($action =~ /^on$/) { $action = "cec_on_autostart"; }
if($action =~ /^off$/) { $action = "cec_off"; }
if($action =~ /^lowpower$/) { $action = "cec_on_low_power"; }
if($action !~ /^cec_on_autostart$/ && $action !~ /^cec_off$/ && $action !~ /^cec_on_low_power$/ ) {
if($action !~ /^cec_on_autostart$/ && $action !~ /^cec_off$/ && $action !~ /^cec_on_low_power$/ && $action !~ /^onstandby$/ ) {
push @output, [$node_name, "\'$action\' command not supported for CEC", -1 ];
#return (\@output);
next;