projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not generate dhcp entry for loopback interface
[live-boot-grml.git]
/
components
/
9990-mount-http.sh
diff --git
a/components/9990-mount-http.sh
b/components/9990-mount-http.sh
index
d0f4900
..
f58c3a3
100755
(executable)
--- 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
mount -t ramfs ram "${mountpoint}"
mkdir -p "${dest}"
fi
+ case "${url}" in
+ *:///*) url="${url%%:///*}://${ROOTSERVER}/${url##*:///}" ;;
+ esac
if [ "${webfile}" = "FETCH" ]
then
case "$url" in
if [ "${webfile}" = "FETCH" ]
then
case "$url" in
@@
-51,12
+54,6
@@
do_httpmount ()
FUSE_MOUNT="httpfs"
fi
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" ; } )"
modprobe fuse
$FUSE_MOUNT "${url}" "${dest}"
ROOT_PID="$(minips h -C "$FUSE_MOUNT" | { read x y ; echo "$x" ; } )"