X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fcasper-bottom%2F20xconfig;h=b6e7550f28123f0256b7fbddaddd63fca25cb0ad;hb=refs%2Ftags%2Fupstream%2F1.81%2Bdebian;hp=840200de140289792497b3ba5c90d31e93270c52;hpb=9d607c7002e2750d20ac640502ecab6d7454bc88;p=live-boot-grml.git diff --git a/scripts/casper-bottom/20xconfig b/scripts/casper-bottom/20xconfig index 840200d..b6e7550 100755 --- a/scripts/casper-bottom/20xconfig +++ b/scripts/casper-bottom/20xconfig @@ -3,7 +3,7 @@ PREREQ="" DESCRIPTION="Configuring X..." -. /scripts/functions +. /scripts/casper-functions prereqs() { @@ -33,12 +33,20 @@ for x in $(cat /proc/cmdline); do debian-installer/locale=*) locale=${x#debian-installer/locale=} ;; + locale=*) + locale=${x#locale=} + ;; esac done mount -n -o bind /sys /root/sys mount -n -o bind /proc /root/proc +if [ -n "${XDEBCONF}" -a -x /root/usr/sbin/xdebconfigurator ]; then + # xdebconfigurator + chroot /root /usr/sbin/xdebconfigurator +fi + chroot /root debconf-communicate -fnoninteractive casper > /dev/null <