From be05870b9b0d905597278ba2d7d5a2fed1e18c55 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Mon, 20 Aug 2018 21:12:04 +0200 Subject: [PATCH] higher ftp timeout --- home.admin/50downloadHDD.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home.admin/50downloadHDD.sh b/home.admin/50downloadHDD.sh index 454ee89..63d1384 100755 --- a/home.admin/50downloadHDD.sh +++ b/home.admin/50downloadHDD.sh @@ -28,7 +28,7 @@ fi name="Download" targetDir="/mnt/hdd/download/" targetSize=$size -maxTimeoutLoops=10000 +maxTimeoutLoops=100000 command="sudo wget -c -r -P ${targetDir} -q --show-progress ${url}" # starting session if needed @@ -97,7 +97,7 @@ while : echo "Its OK to close terminal now and SSH back in later." echo "****************************************************" screen -S ${name} -X hardcopy .${name}.out - newScreenDump=$(cat .Download.out | grep . | tail -10) + newScreenDump=$(cat .Download.out | grep . | tail -8) if [ ${#newScreenDump} -gt 0 ]; then screenDump=$newScreenDump fi