summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2017-02-28 11:54:52 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2017-02-28 11:54:52 +0100
commit34b52450c51fc8803c2ba6f71c8de59e8642bdda (patch)
tree981d6898026b641c06e9a87d8b11da4289bfc97f /src
parentcaf49b95b3a6efe9455078098c729d83b08e5206 (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')
-rw-r--r--src/hostname/hostnamed.c1
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"