Adding upstream version 4.0~a12.
[live-boot-grml.git] / scripts / boot / 9990-mount-http.sh
index b557404..9c01482 100755 (executable)
@@ -50,6 +50,13 @@ do_httpmount ()
                                                else
                                                        FUSE_MOUNT="httpfs"
                                                fi
+
+                                               if [ -n "${FUSE_MOUNT}" ] && [ -x /bin/mount.util-linux ]
+                                               then
+                                                       # fuse does not work with klibc mount
+                                                       ln -f /bin/mount.util-linux /bin/mount
+                                               fi
+
                                                modprobe fuse
                                                $FUSE_MOUNT "${url}" "${dest}"
                                                ROOT_PID="$(minips h -C "$FUSE_MOUNT" | { read x y ; echo "$x" ; } )"