Adding upstream version 1.154.8.
[live-boot-grml.git] / scripts / live-bottom / 21xdriver
index 075a53e..29ae78e 100755 (executable)
@@ -36,11 +36,13 @@ log_begin_msg "Configuring X video driver"
 
 # live-initramfs script
 
+. /live.vars
+
 if [ -n "$XDRIVER" ]
 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/autodetect_video_card false