blob: 414338b74085b97b4f6b02a4595a82ae5218570e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# vim: set ft=sh:
run_hook ()
{
msg -n ":: Loading keymap..."
. /keymap
if [ "$KEYMAP" != "" ]; then
/bin/loadkeys -q $KEYMAP
fi
# If locale is *.utf set console to Unicode mode
if [ "$UTF8" = "yes" ]; then
/bin/kbd_mode -u
/bin/dumpkeys | /bin/loadkeys --unicode
echo -ne "\e%G" >> /dev/console
fi
if [ "$CONSOLEMAP" != "" ]; then
/bin/setfont -m $CONSOLEMAP $CONSOLEFONT -C /dev/console
else
/bin/setfont $CONSOLEFONT -C /dev/console
fi
msg "done."
}
|