From 910c32e14059d2c1e792cb1939d0945ca5cb2df3 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 27 Nov 2009 09:26:40 +0000 Subject: load the right console keymap before dumping it We now rely on /etc/sysconfig/console/default.kmap for the console keyboard layout which we generate by calling dumpkeys. However, in finish-install, we have to make sure the right keymap is loaded before calling dumpkeys otherwise we'll end up with having the default (qwerty) keymap in console. --- lib/keyboard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/keyboard.pm') diff --git a/lib/keyboard.pm b/lib/keyboard.pm index 03d5b56..de69af3 100644 --- a/lib/keyboard.pm +++ b/lib/keyboard.pm @@ -625,9 +625,9 @@ sub configure_and_set_standalone { my ($keyboard) = @_; _setxkbmap($keyboard); + run_program::run('loadkeys', keyboard2kmap($keyboard)); &write($keyboard); - system('/etc/init.d/keytable', 'restart'); } sub read() { -- cgit v1.2.1