2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-14 18:30:23 +00:00

Expose the rvitals command as part of openbmc support

This commit is contained in:
Victor Hu
2017-05-24 23:02:24 -04:00
parent f564dde262
commit 2102c7d086

View File

@ -456,7 +456,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$|^leds$|^all$/) {
return ([ 1, "Unsupported command: $command $subcommand" ]);