mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
hostname: detect convertible dmi chassis type
Detect the 'Convertible' dmi chassis type properly. Use the new 'convertible' chassis class of hostnamed, instead of returning the generic 'computer' chassis class. Based on a patch by Jani Nikula <jani.nikula@intel.com>.
This commit is contained in:
parent
34b52450c5
commit
b70af833e8
@ -200,6 +200,9 @@ static const char* fallback_chassis(void) {
|
||||
|
||||
case 0x1E: /* Tablet */
|
||||
return "tablet";
|
||||
|
||||
case 0x1F: /* Convertible */
|
||||
return "convertible";
|
||||
}
|
||||
|
||||
try_acpi:
|
||||
|
Loading…
x
Reference in New Issue
Block a user