From: lichangze Date: Tue, 8 Sep 2020 08:26:23 +0000 (+0800) Subject: hostnamed: map 'all-in-one' DMI chassis type to desktop X-Git-Tag: v247-rc1~259 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c5c59d4b1811fb9e63db8c8cca877ea00217963;p=thirdparty%2Fsystemd.git hostnamed: map 'all-in-one' DMI chassis type to desktop --- diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index 7f6607a5270..aca0a482b08 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -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 */