X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fcasper-bottom%2F20xconfig;h=470f54c8092a2a66f55e031711bb57c50b0fbaca;hb=9b2007f0c8e6a794895610d51cfdeb8abc0a2e36;hp=b8a4552b2bcc3e19d462adc29334d8c8d7047340;hpb=a4a7503df76005df67b006e1324004c808830c32;p=live-boot-grml.git diff --git a/scripts/casper-bottom/20xconfig b/scripts/casper-bottom/20xconfig index b8a4552..470f54c 100755 --- a/scripts/casper-bottom/20xconfig +++ b/scripts/casper-bottom/20xconfig @@ -3,7 +3,8 @@ PREREQ="" DESCRIPTION="Configuring X..." -. /scripts/functions +. /scripts/casper-functions + prereqs() { @@ -26,28 +27,40 @@ if [ "$TERM_TYPE" = "serial" ]; then exit 0 fi -locale=en_US.UTF-8 - -for x in $(cat /proc/cmdline); do - case $x in - 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 -chroot /root debconf-communicate -fnoninteractive casper > /dev/null < /dev/null < /dev/null <