Releasing debian version 4.0~a4-1.
[live-boot-grml.git] / scripts / boot / 9990-main.sh
index 171d0ea..c696781 100755 (executable)
@@ -32,6 +32,12 @@ Main ()
                . /conf/param.conf
        fi
 
+       if [ -n "${FUSE_MOUNT}" ]
+       then
+               # fuse does not work with klibc mount
+               ln -f /bin/mount.util-linux /bin/mount
+       fi
+
        # Needed here too because some things (*cough* udev *cough*)
        # changes the timeout
 
@@ -146,8 +152,8 @@ Main ()
        esac
 
        # Move to the new root filesystem so that programs there can get at it.
-       mkdir -p /root/lib/live/mount/image
-       mount --move /live/image /root/lib/live/mount/image
+       mkdir -p /root/lib/live/mount/medium
+       mount --move /live/medium /root/lib/live/mount/medium
 
        # aufs2 in kernel versions around 2.6.33 has a regression:
        # directories can't be accessed when read for the first the time,