Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (15 sloc) 417 Bytes
#!/bin/sh
[ -e /keymap.bin ] || exit 1
echo -n ":: Loading keymap..."
. /keymap.utf8
if [ "$UTF8" = "yes" ]; then
/usr/bin/kbd_mode -u -C /dev/console
printf "\033%%G" >> /dev/console
echo 1 > /sys/module/vt/parameters/default_utf8
else
/usr/bin/kbd_mode -a -C /dev/console
printf "\033%%@" >> /dev/console
echo 0 > /sys/module/vt/parameters/default_utf8
fi
/sbin/loadkmap < /keymap.bin
echo "done."