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