#!/bin/sh
#
# load keymap
#
# runlevels: geexbox, debug, install, configure

echo "### Loading keymap ###"

# check for keymap: if not found or invalid, use default keymap
# KEYMAP=`sed -n "s/.*keymap=\([^ ]*\).*/\1/p" /proc/cmdline`
. /settings
[ -n "$KEYMAP" -a -f "/etc/keymaps/$KEYMAP" ] && loadkmap < "/etc/keymaps/$KEYMAP"

exit 0
