mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
Include "laptop" in DMI data summary for laptops. This will make support
easier, as running lm-sensors on laptops is significantly different from running it on other systems. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5524 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -2197,7 +2197,12 @@ sub print_dmi_summary
|
||||
if (defined $dmi{board_vendor} && defined $dmi{board_name}) {
|
||||
$board = "$dmi{board_vendor} $dmi{board_name}";
|
||||
}
|
||||
print "# System: $system\n" if defined $system;
|
||||
|
||||
if (defined $system) {
|
||||
print "# System: $system";
|
||||
print " (laptop)" if (is_laptop());
|
||||
print "\n";
|
||||
}
|
||||
print "# Board: $board\n" if defined $board
|
||||
&& (!defined $system || $system ne $board);
|
||||
}
|
||||
|
Reference in New Issue
Block a user