vmklive-conf: setup X keymap.

This commit is contained in:
Juan RP 2012-11-22 10:31:30 +01:00
parent 54c2812edf
commit f45150594d

View File

@ -23,3 +23,9 @@ fi
if [ -n "$LOCALE" ]; then
sed -i -e "s|^LANG=.*|LANG=$LOCALE|g" ${NEWROOT}/etc/locale.conf
fi
# Setup keymap for X.org evdev.
if [ -r "${NEWROOT}/etc/udev/rules.d/75-x11-input.rules" ]; then
sed -i -e "s|\(ENV{xkblayout}\=\)\"us\"|\1\"${KEYMAP}\"|" \
${NEWROOT}/etc/udev/rules.d/75-x11-input.rules
fi