projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Calculating size for the whole media "/live/image/", not only the dir "/live/image...
[live-boot-grml.git]
/
scripts
/
boot
/
9990-mount-http.sh
diff --git
a/scripts/boot/9990-mount-http.sh
b/scripts/boot/9990-mount-http.sh
index
935e0ae
..
16e69b6
100755
(executable)
--- 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)"
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
;;
*)
;;
*)
@@
-51,7
+51,7
@@
do_httpmount ()
FUSE_MOUNT="httpfs"
fi
FUSE_MOUNT="httpfs"
fi
- if [ -n "${FUSE_MOUNT}" ]
+ 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
then
# fuse does not work with klibc mount
ln -f /bin/mount.util-linux /bin/mount