X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F20xconfig;h=d06b2d670a4fb6342f96047ccd0734ccafb8a424;hb=58ca66342e48713c51d0390f754c2d186561681f;hp=f6a3f8d58c67b5c7ddcda0763f6e271fde69da1c;hpb=46a63ce061e55f456478668f12c19640ec727f0c;p=live-boot-grml.git diff --git a/scripts/live-bottom/20xconfig b/scripts/live-bottom/20xconfig index f6a3f8d..d06b2d6 100755 --- a/scripts/live-bottom/20xconfig +++ b/scripts/live-bottom/20xconfig @@ -75,8 +75,13 @@ then setmodel="set xserver-xorg/config/inputdevice/keyboard/model ${KMODEL}" fi +if [ -n "${KLAYOUT}" ] +then + setlayout="set xserver-xorg/config/inputdevice/keyboard/layout ${KLAYOUT}" +fi + chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF -set xserver-xorg/config/inputdevice/keyboard/layout ${kbd} +${setlayout} ${setvariant} ${setmodel} ${setoptions}