mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
hostname: detect detachable dmi chassis type (#5489)
Detect the 'Detachable' dmi chassis type properly. Use the new 'convertible' chassis class of hostnamed, instead of returning the generic 'computer' chassis class.
This commit is contained in:
parent
a6f8786a56
commit
b4227dbb45
@ -202,6 +202,7 @@ static const char* fallback_chassis(void) {
|
||||
return "tablet";
|
||||
|
||||
case 0x1F: /* Convertible */
|
||||
case 0x20: /* Detachable */
|
||||
return "convertible";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user