diff --git a/tbsetup/power.in b/tbsetup/power.in index 7c28524cd3d29eef1705bebb12c8edecf53cbcb0..5e4405c815bcc8f01b0a40eb5f852cbc4ba8519c 100755 --- a/tbsetup/power.in +++ b/tbsetup/power.in @@ -274,7 +274,7 @@ foreach my $power_id (keys %outlets) { $errors++; } } - } elsif ($type eq "RPC27") { + } elsif ($type =~ "RPC") { if (rpc27ctrl($op,$power_id,@outlets)) { print "Control of $nodestr failed.\n"; $exitval++; }