5 # initramfs-tools header
21 # live-initramfs header
23 if [ -n "${NOXAUTOCONFIG}" ] || [ ! -x /root/usr/bin/X ] || [ -n "${XDRIVER}" ]
28 . /scripts/live-functions
30 log_begin_msg "Configuring X video driver"
32 # live-initramfs script
36 mount -o bind /sys /root/sys
37 mount -o bind /proc /root/proc
38 mount -o bind /dev /root/dev
40 chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF
41 set xserver-xorg/autodetect_video_card false
42 set xserver-xorg/config/device/driver ${XDRIVER}