]> git.ipfire.org Git - thirdparty/systemd.git/commit
hostname: detect convertible dmi chassis type 5484/head
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 28 Feb 2017 10:58:14 +0000 (11:58 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 28 Feb 2017 10:58:14 +0000 (11:58 +0100)
commitb70af833e84a78e881eea5076c2e422fb4c65b3b
tree1ec91340dbd5c83dcf84070c7549f84c8a257c84
parent34b52450c51fc8803c2ba6f71c8de59e8642bdda
hostname: detect convertible dmi chassis type

Detect the 'Convertible' dmi chassis type properly. Use the new
'convertible' chassis class of hostnamed, instead of returning the
generic 'computer' chassis class.

Based on a patch by Jani Nikula <jani.nikula@intel.com>.
src/hostname/hostnamed.c