mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-23 22:47:03 +01:00
higher ftp timeout
This commit is contained in:
parent
d358a7bbab
commit
be05870b9b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue