From: Daniel Baumann Date: Mon, 27 May 2013 14:36:59 +0000 (+0200) Subject: Increasing tftp blocksize to maximum value per RFC 2348, thanks to Vincent Smeets... X-Git-Tag: debian/4.0_a13-1~1 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=057d800269a81e5218d5bf38b42cb18d8399b290 Increasing tftp blocksize to maximum value per RFC 2348, thanks to Vincent Smeets (Closes: #709887). --- 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 ;; *)