2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +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:
Jean Delvare
2011-07-22 08:42:02 +00:00
parent a4bd81d9e2
commit 0cc29fa84f
2 changed files with 3 additions and 0 deletions

View File

@@ -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";
}