vp-build/templates/initramfs-tools/files/scripts/init-top/keymap
Juan RP 7e91eb4db8 initramfs-tools: add sources and use them.
* Add source files directly to avoid recreating patches and
  patches lots of times with no gain.
* Add du and expr busybox symlinks at init time.

Bump revision.

--HG--
extra : convert_revision : 4928750b0110f43cde577f6068e79bd0675c64cf
2009-10-09 03:11:09 +02:00

28 lines
361 B
Bash
Executable File

#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
OPTS="-q"
# Should terminal be in UTF8 mode?
if [ -x /sbin/kbd_mode ]; then
/sbin/kbd_mode -u
OPTS="${OPTS} -u"
fi
# Load custom keymap
if [ -x /sbin/loadkeys -a -r /etc/boottime.kmap.gz ]; then
loadkeys ${OPTS} /etc/boottime.kmap.gz
fi