summaryrefslogtreecommitdiff
path: root/scripts/boot/9990-mount-http.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/boot/9990-mount-http.sh')
-rwxr-xr-xscripts/boot/9990-mount-http.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/boot/9990-mount-http.sh b/scripts/boot/9990-mount-http.sh
index b557404..935e0ae 100755
--- a/scripts/boot/9990-mount-http.sh
+++ b/scripts/boot/9990-mount-http.sh
@@ -50,6 +50,13 @@ do_httpmount ()
else
FUSE_MOUNT="httpfs"
fi
+
+ if [ -n "${FUSE_MOUNT}" ]
+ 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" ; } )"