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 modes"
37 # live-initramfs script
39 if [ -n "$XVIDEOMODE" ]
41 mount -o bind /sys /root/sys
42 mount -o bind /proc /root/proc
43 mount -o bind /dev /root/dev
45 chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF
46 set xserver-xorg/config/monitor/mode-list ${XVIDEOMODE}
47 set xserver-xorg/config/display/modes ${XVIDEOMODE}