#! /bin/sh

PREREQ=""

prereqs()
{
	echo "$PREREQ"
}

case $1 in
prereqs)
	prereqs
	exit 0
	;;
esac

. /scripts/functions-uniklu
. /scripts/functions

chvt 1

[ "$quiet" != "y" ] && log_begin_msg "Initializing keyboard"
rootmnt=/target
# prepare minimal /etc/network/interfaces
  echo >  ${rootmnt}/etc/default/keyboard <<EOT
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.

# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.

XKBMODEL="$XKBMKODEL"
XKBLAYOUT="$XKBLAYOUT"
XKBVARIANT="$XKBVARIANT"
XKBOPTIONS="$XKBOPTIONS"

# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap.  Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz

EOT
  if [ -n "$BREAK" ]; then
    panic "after keyboard configuration in /target"
  fi

