]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
sulogin: extend --version features list
authorKarel Zak <kzak@redhat.com>
Thu, 16 Jan 2025 12:24:37 +0000 (13:24 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 16 Jan 2025 12:24:37 +0000 (13:24 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/sulogin.c

index 77fc5b20f790c27e55b6a90e323efec4c08786bc..aeaa3f11f61c5dac2f7bd8f2640c4aa198292bbb 100644 (file)
@@ -1051,6 +1051,21 @@ int main(int argc, char **argv)
                        static const char *const features[] = {
 #ifdef USE_SULOGIN_EMERGENCY_MOUNT
                                "emergency-mount",
+#endif
+#ifdef HAVE_LIBSELINUX
+                               "selinux",
+#endif
+#ifdef USE_PLYMOUTH_SUPPORT
+                               "plymouth",
+#endif
+#ifdef KDGKBMODE
+                               "keyboard mode",
+#endif
+#ifdef HAVE_WIDECHAR
+                               "widechar",
+#endif
+#ifdef TIOCGSERIAL
+                               "serial-info",
 #endif
                                NULL
                        };