hostnamed: map 'all-in-one' DMI chassis type to desktop

This commit is contained in:
lichangze 2020-09-08 16:26:23 +08:00 committed by Lennart Poettering
parent f8bff7805e
commit 7c5c59d4b1
1 changed files with 1 additions and 0 deletions

View File

@ -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 */