X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fcasper-bottom%2F20xconfig;h=470f54c8092a2a66f55e031711bb57c50b0fbaca;hb=9b2007f0c8e6a794895610d51cfdeb8abc0a2e36;hp=3916f41cacb71bfadd3b723043962263e792f92a;hpb=4042b2eda2107dda511a29ae376d9724e0fd7a33;p=live-boot-grml.git diff --git a/scripts/casper-bottom/20xconfig b/scripts/casper-bottom/20xconfig index 3916f41..470f54c 100755 --- a/scripts/casper-bottom/20xconfig +++ b/scripts/casper-bottom/20xconfig @@ -5,6 +5,7 @@ DESCRIPTION="Configuring X..." . /scripts/casper-functions + prereqs() { echo "$PREREQ" @@ -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 <