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
43 mount -o bind /sys /root/sys
44 mount -o bind /proc /root/proc
45 mount -o bind /dev /root/dev
47 chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF
48 set xserver-xorg/autodetect_video_card false
49 set xserver-xorg/config/device/driver ${XDRIVER}