projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix read-only persistence mode with overlayfs
[live-boot-grml.git]
/
components
/
9990-mount-http.sh
diff --git
a/components/9990-mount-http.sh
b/components/9990-mount-http.sh
index
16e69b6
..
2e68fe6
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
@@
-83,7
+86,7
@@
do_httpmount ()
then
if [ -d "${alt_mountpoint}" ]
then
then
if [ -d "${alt_mountpoint}" ]
then
- umount "${alt_mountpoint}"
+ umount "${alt_mountpoint}"
rmdir "${alt_mountpoint}"
fi
umount "${mountpoint}"
rmdir "${alt_mountpoint}"
fi
umount "${mountpoint}"