summary refs log tree commit diff
path: root/core-services/06-console-setup.sh
blob: 5baf534520691b29811c6b9f8a11aee6f70feb4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# vim: set ts=4 sw=4 et:

[ -n "$VIRTUALIZATION" ] && return 0

if [ -n "$FONT" ]; then
    msg "Setting up TTYs font to '${FONT}'...\n"
    for i in /dev/tty[0-6]; do
        setfont ${FONT_MAP:+-m $FONT_MAP} ${FONT_UNIMAP:+-u $FONT_UNIMAP} $FONT -C $i
    done
fi

msg "Setting up keymap to '${KEYMAP:-us}'...\n"
loadkeys -q -u ${KEYMAP:-us}