Configuring the loadkeys script
You only need to create configure script if you don't have a
default 101 keys US keyboard layout.
The /etc/sysconfig/keyboard file contains the information the
loadkeys script needs to operate. This file contains the LAYOUT variable
which tells loadkeys what keymap to load that corresponds with your
keyboard.
Create a new file /etc/sysconfig/keyboard
by running the following:
cat > /etc/sysconfig/keyboard << "EOF"
# Begin /etc/sysconfig/keyboard
LAYOUT=<path-to-keymap>
# End /etc/sysconfig/keyboard
EOF
Replace <path-to-keymap> with the
path to the keymap you have selected. For example, if you have chosen the
US keymap, you would replace it with
/usr/share/kbd/keymaps/i386/qwerty/us.map.gz