mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	Expose the rvitals command as part of openbmc support
This commit is contained in:
		@@ -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" ]);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user