From: Tom Gundersen Date: Wed, 3 Oct 2012 13:57:40 +0000 (+0200) Subject: vconsole: default to the kernel compiled-in keymap X-Git-Tag: v194~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d789b905dba8aebd30238520b6ad52fb866af95;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c index 1227b041d33..a652ec2b1a1 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) {