vconsole: don't parse Fedora's KEYMAP= kernel parameters anymore
KEYMAP are use to pass keymap configuration to initrd, but not to the system itself. Since the initrd might get out of date we need to make sure that changes made in userspace override the settings from the cmdline, hence drpo any use of it all for these variables.
This commit is contained in:
@@ -203,10 +203,6 @@ int main(int argc, char **argv) {
|
||||
|
||||
if (detect_container(NULL) <= 0)
|
||||
if ((r = parse_env_file("/proc/cmdline", WHITESPACE,
|
||||
#if defined(TARGET_FEDORA) || defined(TARGET_MEEGO)
|
||||
"SYSFONT", &vc_font,
|
||||
"KEYTABLE", &vc_keymap,
|
||||
#endif
|
||||
"vconsole.keymap", &vc_keymap,
|
||||
"vconsole.keymap.toggle", &vc_keymap_toggle,
|
||||
"vconsole.font", &vc_font,
|
||||
|
||||
Reference in New Issue
Block a user