Also checking for wicd in 23networking, thanks to Ben Armstrong <synrg@debian.org>.
[live-boot-grml.git] / scripts / live-bottom / 21xvidemode
index 24116e9..ead3a6c 100755 (executable)
@@ -36,11 +36,13 @@ log_begin_msg "Configuring X video modes"
 
 # live-initramfs script
 
+. /live.vars
+
 if [ -n "$XVIDEOMODE" ]
 then
-       mount -n -o bind /sys /root/sys
-       mount -n -o bind /proc /root/proc
-       mount -n -o bind /dev /root/dev
+       mount -o bind /sys /root/sys
+       mount -o bind /proc /root/proc
+       mount -o bind /dev /root/dev
 
 chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF
 set xserver-xorg/config/monitor/mode-list ${XVIDEOMODE}