From 057d800269a81e5218d5bf38b42cb18d8399b290 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 27 May 2013 16:36:59 +0200 Subject: [PATCH] Increasing tftp blocksize to maximum value per RFC 2348, thanks to Vincent Smeets (Closes: #709887). --- scripts/boot/9990-mount-http.sh | 4 ++-- 1 file 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 ;; *) -- 2.1.4