diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2017-02-28 11:54:52 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2017-02-28 11:54:52 +0100 |
commit | 34b52450c51fc8803c2ba6f71c8de59e8642bdda (patch) | |
tree | 981d6898026b641c06e9a87d8b11da4289bfc97f /src/hostname | |
parent | caf49b95b3a6efe9455078098c729d83b08e5206 (diff) |
hostname: add 'convertible' chassis type
Add the 'convertible' type to the set of allowed chassis. This applies
to all devices that can be transformed by the user from laptop style to
tablet style.
This does not add any auto-detection, yet. It only makes 'set-chassis'
accept 'convertible' as valid input.
Diffstat (limited to 'src/hostname')
-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 4657cf8c77..c02e18a654 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -133,6 +133,7 @@ static bool valid_chassis(const char *chassis) { "container\0" "desktop\0" "laptop\0" + "convertible\0" "server\0" "tablet\0" "handset\0" |