X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=components%2F9990-mount-http.sh;h=2e68fe61b02b82fb345ce5aa25db05fc734afe79;hb=4ec4294d0d18e4300aa83c9479b0e718c4c5ecae;hp=d0f4900f66a7107329ff577ff9ff49c07b33e4c8;hpb=f5716f9a79564e44e38f5d4164a4dc1d77cb8c3a;p=live-boot-grml.git diff --git a/components/9990-mount-http.sh b/components/9990-mount-http.sh index d0f4900..2e68fe6 100755 --- a/components/9990-mount-http.sh +++ b/components/9990-mount-http.sh @@ -25,6 +25,9 @@ do_httpmount () mount -t ramfs ram "${mountpoint}" mkdir -p "${dest}" fi + case "${url}" in + *:///*) url="${url%%:///*}://${ROOTSERVER}/${url##*:///}" ;; + esac if [ "${webfile}" = "FETCH" ] then case "$url" in