summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-09-10 10:33:41 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:05 +0100
commit05b3ad763664fa23a5beecd03ebdcdb81ecde87b (patch)
treeca7e447edf57b71555f96dfac549ab544ffddae1
parent603b9578195e7964226e16b883c4a441efc2ba0c (diff)
downloadlive-boot-05b3ad763664fa23a5beecd03ebdcdb81ecde87b.tar.gz
live-boot-05b3ad763664fa23a5beecd03ebdcdb81ecde87b.zip
Forcing run of dexconf when booting with xdriver=dexconf.
-rwxr-xr-xscripts/live-bottom/21xdriver5
1 files changed, 5 insertions, 0 deletions
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