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