mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-26 17:25:34 +03:00
hostnamed: map 'all-in-one' DMI chassis type to desktop
This commit is contained in:
parent
f8bff7805e
commit
7c5c59d4b1
@ -217,6 +217,7 @@ static const char* fallback_chassis(void) {
|
||||
case 0x4: /* Low Profile Desktop */
|
||||
case 0x6: /* Mini Tower */
|
||||
case 0x7: /* Tower */
|
||||
case 0xD: /* All in one (i.e. PC built into monitor) */
|
||||
return "desktop";
|
||||
|
||||
case 0x8: /* Portable */
|
||||
|
Loading…
Reference in New Issue
Block a user