Random Project

Change some lines to work in newer OS/TFTP versions

Good but in newer versions you have to change following lines:

ORIG:
RESULT=”$(echo get NaGiOs_ChEcK_FiLe | tftp $HOST 2>&1 | head -n 1)”
TO
RESULT=”$(echo get NaGiOs_ChEcK_FiLe | tftp -v $HOST 2>&1 | grep Received)”

ORIG:
RESULT=”$(echo get $FILENAME | tftp $HOST 2>&1 | head -n 1)”
TO:
RESULT=”$(echo get $FILENAME | tftp $HOST 2>&1 | grep Received)”

ORIG:
*”Received “*” bytes in “*” seconds”)
TO:
*”Received “*” bytes in “*” seconds”*)

Than it will work fine again!

Klaus Tachtler.