5 # initramfs-tools header
21 # live-initramfs header
23 if [ -n "${NOXAUTOCONFIG}" ]
28 . /scripts/live-functions
30 log_begin_msg "Configuring X video modes"
32 # live-initramfs script
34 if [ -n "$XVIDEOMODE" ]
36 mount -n -o bind /sys /root/sys
37 mount -n -o bind /proc /root/proc
38 mount -n -o bind /dev /root/dev
40 chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF
41 set xserver-xorg/config/monitor/mode-list ${XVIDEOMODE}
42 set xserver-xorg/config/display/modes ${XVIDEOMODE}