]> git.ipfire.org Git - thirdparty/systemd.git/commit
hostname: detect detachable dmi chassis type (#5489)
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 28 Feb 2017 20:57:58 +0000 (21:57 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 28 Feb 2017 20:57:58 +0000 (21:57 +0100)
commitb4227dbb452003d17877a9b23d191dc5ccc53138
treec28a448c46458dfa8afa1d491a1c697db2126fec
parenta6f8786a56c0acba5997e2c58d0df6c80ffde7f1
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.
src/hostname/hostnamed.c