From 05b3ad763664fa23a5beecd03ebdcdb81ecde87b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 10 Sep 2009 10:33:41 +0200 Subject: Forcing run of dexconf when booting with xdriver=dexconf. --- scripts/live-bottom/21xdriver | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/live-bottom/21xdriver b/scripts/live-bottom/21xdriver index 105f5b2..e86c310 100755 --- a/scripts/live-bottom/21xdriver +++ b/scripts/live-bottom/21xdriver @@ -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 -- cgit v1.2.3