mount -t ramfs ram "${mountpoint}"
mkdir -p "${dest}"
fi
+ case "${url}" in
+ *:///*) url="${url%%:///*}://${ROOTSERVER}/${url##*:///}" ;;
+ esac
if [ "${webfile}" = "FETCH" ]
then
case "$url" in
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" ; } )"
then
if [ -d "${alt_mountpoint}" ]
then
- umount "${alt_mountpoint}"
+ umount "${alt_mountpoint}"
rmdir "${alt_mountpoint}"
fi
umount "${mountpoint}"