From 791cf821db70b4139cb2f2e4ea2bcc5110429907 Mon Sep 17 00:00:00 2001 From: Rod Smith Date: Wed, 19 Aug 2015 16:57:35 -0400 Subject: Modified dmitest script as per Jeff's comment. --- bin/dmitest | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/dmitest b/bin/dmitest index aaaf9d4..3aa2b86 100755 --- a/bin/dmitest +++ b/bin/dmitest @@ -48,9 +48,6 @@ import sys from argparse import ArgumentParser -# Command to retrieve DMI information -COMMAND = "dmidecode" - def find_in_section(stream, section, label, strings, find_empty): """Search for a set of strings on a line in the output. @@ -241,6 +238,8 @@ def main(): "just the CPU validity test") args = parser.parse_args() + # Command to retrieve DMI information + COMMAND = "dmidecode" try: if args.dmifile: print("Reading " + args.dmifile + " as DMI data") -- cgit v1.2.3