blob: 9557c26d03deba272171803d71940d1cd4bd495d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# vim: set ft=sh:
run_hook ()
{
if [ -e /keymap.bin ]; then
msg -n ":: Loading keymap..."
. /keymap.utf8
if [ "${UTF8}" = "yes" ]; then
/usr/bin/kbd_mode -u -C /dev/console
printf "\033%%G" >> /dev/console
else
/usr/bin/kbd_mode -a -C /dev/console
printf "\033%%@" >> /dev/console
fi
/sbin/loadkmap < /keymap.bin
msg "done."
fi
}
|