From 8d789b905dba8aebd30238520b6ad52fb866af95 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 3 Oct 2012 15:57:40 +0200 Subject: [PATCH] vconsole: default to the kernel compiled-in keymap No longer override the default kernel keymap if nothing is specified in vconsole.conf. The default should be to do nothing (i.e., use what is already in the kernel) unless the distro/admin has explicitly requested it. --- src/vconsole/vconsole-setup.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c index 1227b041d..a652ec2b1 100644 --- a/src/vconsole/vconsole-setup.c +++ b/src/vconsole/vconsole-setup.c @@ -214,13 +214,6 @@ int main(int argc, char **argv) { utf8 = is_locale_utf8(); - vc_keymap = strdup("us"); - - if (!vc_keymap) { - log_error("Failed to allocate string."); - goto finish; - } - r = 0; if (detect_container(NULL) <= 0) { -- 2.30.2