#!/bin/sh

# Load keytable

# This must be executed *after* /usr is mounted.
# This means is /usr is NFS-mounted, it needs to
# run after networking and NFS mounts are up.

. /etc/rc.d/init.d/functions

case "$1" in
	start)
		# Load the proper keymap
		echo -n "Loading keymap: "
		. /etc/sysconfig/keyboard

		if [ ${KEYTABLE:-bogus} != "bogus" ]; then
			loadkeys $KEYTABLE
		fi
		;;
	stop)
		;;
	*)
		echo "Usage: keytable {start|stop}"
		exit 1
esac

exit 0
