]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
ply-device-manager: Change XKB_* variables from vconsole.conf to match systemd's
authorn3rdopolis <bluescreen_avenger@verizon.net>
Tue, 24 Jan 2023 17:53:29 +0000 (12:53 -0500)
committern3rdopolis <bluescreen_avenger@verizon.net>
Tue, 24 Jan 2023 17:53:29 +0000 (12:53 -0500)
src/libply-splash-core/ply-device-manager.c

index 15a14c653f95a5cff0fcb4b9f687ec44604033ac..b7f99dc0371ee76c166f79b7892f166765484546 100644 (file)
@@ -833,16 +833,16 @@ parse_vconsole_conf (ply_device_manager_t *manager)
                         keymap = ply_key_file_get_value (vconsole_conf, NULL, "KEYMAP");
                         keymap = strip_quotes (keymap);
                 }
-                xkb_layout = ply_key_file_get_value (vconsole_conf, NULL, "XKB_LAYOUT");
+                xkb_layout = ply_key_file_get_value (vconsole_conf, NULL, "XKBLAYOUT");
                 xkb_layout = strip_quotes (xkb_layout);
 
-                xkb_model = ply_key_file_get_value (vconsole_conf, NULL, "XKB_MODEL");
+                xkb_model = ply_key_file_get_value (vconsole_conf, NULL, "XKBMODEL");
                 xkb_model = strip_quotes (xkb_model);
 
-                xkb_variant = ply_key_file_get_value (vconsole_conf, NULL, "XKB_VARIANT");
+                xkb_variant = ply_key_file_get_value (vconsole_conf, NULL, "XKBVARIANT");
                 xkb_variant = strip_quotes (xkb_variant);
 
-                xkb_options = ply_key_file_get_value (vconsole_conf, NULL, "XKB_OPTIONS");
+                xkb_options = ply_key_file_get_value (vconsole_conf, NULL, "XKBOPTIONS");
                 xkb_options = strip_quotes (xkb_options);
         }
         ply_key_file_free (vconsole_conf);