diff options
author | lichangze <lichangze@uniontech.com> | 2020-09-08 10:26:23 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-09-11 09:55:44 +0200 |
commit | 7c5c59d4b1811fb9e63db8c8cca877ea00217963 (patch) | |
tree | 47e553423bb8b5944220bd2c86c68bb7355ac26f /src/hostname/hostnamed.c | |
parent | Merge pull request #16933 from poettering/copy-hardlinks (diff) | |
download | systemd-7c5c59d4b1811fb9e63db8c8cca877ea00217963.tar.xz systemd-7c5c59d4b1811fb9e63db8c8cca877ea00217963.zip |
hostnamed: map 'all-in-one' DMI chassis type to desktop
Diffstat (limited to 'src/hostname/hostnamed.c')
-rw-r--r-- | src/hostname/hostnamed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index 7f6607a527..aca0a482b0 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 */ |