mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Merge pull request #3135 from whowutwut/expose_rvitals
Expose the rvitals command as part of openbmc support
This commit is contained in:
commit
50ec268c13
@ -458,7 +458,6 @@ sub parse_args {
|
||||
}
|
||||
}
|
||||
} elsif ($command eq "rvitals") {
|
||||
$check = unsupported($callback); if (ref($check) eq "ARRAY") { return $check; }
|
||||
$subcommand = "all" if (!defined($ARGV[0]));
|
||||
unless ($subcommand =~ /^temp$|^voltage$|^wattage$|^fanspeed$|^power$|^altitude$|^all$/) {
|
||||
return ([ 1, "Unsupported command: $command $subcommand" ]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user