diff options
author | Juan RP <xtraeme@gmail.com> | 2012-11-22 10:31:30 +0100 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2012-11-22 10:31:30 +0100 |
commit | f45150594d0dba1d2f40e3a3cbe795651182aad5 (patch) | |
tree | 3a6f98ed4d91cb720aef33660f088d2995233558 /dracut/vmklive-conf.sh | |
parent | 54c2812edf8f2028b43992befc4f45fa6f31b84f (diff) | |
download | hrmpf-f45150594d0dba1d2f40e3a3cbe795651182aad5.tar.gz hrmpf-f45150594d0dba1d2f40e3a3cbe795651182aad5.tar.xz hrmpf-f45150594d0dba1d2f40e3a3cbe795651182aad5.zip |
vmklive-conf: setup X keymap.
Diffstat (limited to 'dracut/vmklive-conf.sh')
-rw-r--r-- | dracut/vmklive-conf.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dracut/vmklive-conf.sh b/dracut/vmklive-conf.sh index 4fe1747..05a9ab0 100644 --- a/dracut/vmklive-conf.sh +++ b/dracut/vmklive-conf.sh @@ -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 |