2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-05 00:35:35 +00:00

Now supports dmidecode 2.0 and later.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1755 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2003-06-03 07:44:49 +00:00
parent 7bce574327
commit fc17449b5b

View File

@@ -3131,9 +3131,9 @@ sub system_safeness_by_dmi
next;
}
next unless defined $dmitype;
if ($dmitype == 1 && m/^\s*Vendor: (.*)$/)
if ($dmitype == 1 && m/^\s*(Vendor|Manufacturer): (.*)$/)
{
$systemvendor = $1;
$systemvendor = $2;
}
elsif ($dmitype == 0 && m/^\s*Version: (.*)$/)
{