X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F20xconfig;h=d06b2d670a4fb6342f96047ccd0734ccafb8a424;hb=30d8972aa25fd49dd01aa042155a48bd49c0ae2d;hp=f6a3f8d58c67b5c7ddcda0763f6e271fde69da1c;hpb=b2da902954ad2b15ac7d05b054d83218629911ae;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}