diff options
| author | Daniel Baumann <daniel@debian.org> | 2009-09-10 10:33:41 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:05 +0100 |
| commit | 05b3ad763664fa23a5beecd03ebdcdb81ecde87b (patch) | |
| tree | ca7e447edf57b71555f96dfac549ab544ffddae1 | |
| parent | 603b9578195e7964226e16b883c4a441efc2ba0c (diff) | |
| download | live-boot-05b3ad763664fa23a5beecd03ebdcdb81ecde87b.tar.gz live-boot-05b3ad763664fa23a5beecd03ebdcdb81ecde87b.zip | |
Forcing run of dexconf when booting with xdriver=dexconf.
| -rwxr-xr-x | scripts/live-bottom/21xdriver | 5 |
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 |
