diff options
Diffstat (limited to 'lib/keyboard.pm')
-rw-r--r-- | lib/keyboard.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/keyboard.pm b/lib/keyboard.pm index 5c67753..6c4641d 100644 --- a/lib/keyboard.pm +++ b/lib/keyboard.pm @@ -616,6 +616,12 @@ sub write { $keyboard->{KEYTABLE} = keyboard2kmap($keyboard); setVarsInSh("$::prefix/etc/sysconfig/keyboard", $keyboard); + + if ($keyboard->{'KEYTABLE'}) { + my $h2 = { 'KEYMAP' => $keyboard->{'KEYTABLE'} }; + addVarsInShMode("$::prefix/etc/vconsole.conf", 0644, $h2); + } + if (arch() =~ /ppc/) { my $s = "dev.mac_hid.keyboard_sends_linux_keycodes = 1\n"; substInFile { |