5 # initramfs-tools header
21 # live-initramfs header
23 . /scripts/live-functions
25 log_begin_msg "Configuring X kludges..."
27 # live-initramfs script
29 if [ -n "$XVIDEOMODE" ]
31 mount -n -o bind /sys /root/sys
32 mount -n -o bind /proc /root/proc
33 mount -n -o bind /dev /root/dev
35 chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF
36 set xserver-xorg/config/monitor/mode-list ${XVIDEOMODE}
37 set xserver-xorg/config/display/modes ${XVIDEOMODE}