28 lines
361 B
Bash
Executable File
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
|