Increasing tftp blocksize to maximum value per RFC 2348, thanks to Vincent Smeets...
authorDaniel Baumann <mail@daniel-baumann.ch>
Mon, 27 May 2013 14:36:59 +0000 (16:36 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Mon, 27 May 2013 14:36:59 +0000 (16:36 +0200)
scripts/boot/9990-mount-http.sh

index 9c01482..16e69b6 100755 (executable)
@@ -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
                                                        ;;
 
                                                        *)