diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-11-27 09:26:40 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-11-27 09:26:40 +0000 |
commit | 910c32e14059d2c1e792cb1939d0945ca5cb2df3 (patch) | |
tree | 65020522a46d2fb782ad304fb9bdaaf84d96bb32 /lib/keyboard.pm | |
parent | bff7a1e1d2318c480724274c1cac129a2f5907ee (diff) | |
download | drakx-kbd-mouse-x11-910c32e14059d2c1e792cb1939d0945ca5cb2df3.tar drakx-kbd-mouse-x11-910c32e14059d2c1e792cb1939d0945ca5cb2df3.tar.gz drakx-kbd-mouse-x11-910c32e14059d2c1e792cb1939d0945ca5cb2df3.tar.bz2 drakx-kbd-mouse-x11-910c32e14059d2c1e792cb1939d0945ca5cb2df3.tar.xz drakx-kbd-mouse-x11-910c32e14059d2c1e792cb1939d0945ca5cb2df3.zip |
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.
Diffstat (limited to 'lib/keyboard.pm')
-rw-r--r-- | lib/keyboard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |