X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fboot%2F9990-mount-http.sh;h=16e69b692e04ac178e016591a5f7fe6c8cfbffc9;hb=895b356b249e9b1196d180a43c2e6601fab1b158;hp=b5574049463ebe1bbae2df12ff8d227b6816c07f;hpb=e651a4fbfe518f6a3a8759037dcf41861639f665;p=live-boot-grml.git diff --git a/scripts/boot/9990-mount-http.sh b/scripts/boot/9990-mount-http.sh index b557404..16e69b6 100755 --- a/scripts/boot/9990-mount-http.sh +++ b/scripts/boot/9990-mount-http.sh @@ -32,8 +32,8 @@ do_httpmount () ip="$(dirname $url | sed -e 's|tftp://||g' -e 's|/.*$||g')" rfile="$(echo $url | sed -e "s|tftp://$ip||g")" lfile="$(basename $url)" - log_begin_msg "Trying tftp -g -b 10240 -r $rfile -l ${dest}/$lfile $ip" - tftp -g -b 10240 -r $rfile -l ${dest}/$lfile $ip + log_begin_msg "Trying tftp -g -b 65464 -r $rfile -l ${dest}/$lfile $ip" + tftp -g -b 65464 -r $rfile -l ${dest}/$lfile $ip ;; *) @@ -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" ; } )"