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:
@@ -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: (.*)$/)
|
||||
{
|
||||
|
Reference in New Issue
Block a user