summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-05-27 16:36:59 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-27 16:36:59 +0200
commit057d800269a81e5218d5bf38b42cb18d8399b290 (patch)
treee554b15d4183052120cb77f14215e7ae17f708ec
parenta8d937b9b0044b27091b545bb4d75e10f2dcbb2a (diff)
downloadlive-boot-057d800269a81e5218d5bf38b42cb18d8399b290.tar.gz
live-boot-057d800269a81e5218d5bf38b42cb18d8399b290.zip
Increasing tftp blocksize to maximum value per RFC 2348, thanks to Vincent Smeets <Vincent.VSmeets@gmail.com> (Closes: #709887).
-rwxr-xr-xscripts/boot/9990-mount-http.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/boot/9990-mount-http.sh b/scripts/boot/9990-mount-http.sh
index 9c01482..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
;;
*)