mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
Print DMI system/product version if available. On some laptops, the
actual model name is in this string. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5992 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -2767,6 +2767,7 @@ sub initialize_dmi_data
|
||||
'system manufacturer' => 1,
|
||||
'system product name' => 1,
|
||||
'system name' => 1,
|
||||
'system version' => 1,
|
||||
);
|
||||
my $dmi_id_dir;
|
||||
|
||||
@@ -2811,6 +2812,7 @@ sub print_dmi_summary
|
||||
|
||||
if (defined $system) {
|
||||
print "# System: $system";
|
||||
print " [$dmi{product_version}]" if defined $dmi{product_version};
|
||||
print " (laptop)" if (is_laptop());
|
||||
print "\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user