Forcing run of dexconf when booting with xdriver=dexconf.
authorDaniel Baumann <daniel@debian.org>
Thu, 10 Sep 2009 08:33:41 +0000 (10:33 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:05 +0000 (17:48 +0100)
scripts/live-bottom/21xdriver

index 105f5b2..e86c310 100755 (executable)
@@ -37,11 +37,16 @@ mount -o bind /sys /root/sys
 mount -o bind /proc /root/proc
 mount -o bind /dev /root/dev
 
+if [ "${XDRIVER}" != "dexconf" ]
+then
+
 chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF
 set xserver-xorg/autodetect_video_card false
 set xserver-xorg/config/device/driver ${XDRIVER}
 EOF
 
+fi
+
 chroot /root dexconf
 
 umount /root/sys