|
@@ -281,7 +281,7 @@ public class SerialNumberUtil {
|
|
|
String os = System.getProperty("os.name");
|
|
|
Map<String, List<String>> snVo = new HashMap<String, List<String>>();
|
|
|
|
|
|
- if ("LINUX".equals(os)) {
|
|
|
+ if ("LINUX".equals(os.toUpperCase())) {
|
|
|
System.out.println("=============>for linux");
|
|
|
List<String> cpuid = getSerialNumberLists("dmidecode -t processor | grep 'ID'", "ID", ":");
|
|
|
System.out.println("cpuid : " + cpuid);
|