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
41 if [ -n "$XVIDEOMODE" ]
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/config/monitor/mode-list ${XVIDEOMODE}
49 set xserver-xorg/config/display/modes ${XVIDEOMODE}