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