Browse Source

fix donwload path

#146
rootzoll 7 years ago
parent
commit
fb9779d52d
  1. 4
      home.admin/50torrentHDD.sh

4
home.admin/50torrentHDD.sh

@ -22,7 +22,7 @@ fi
# screen background monitoring settings
name="torrent"
targetDir="/mnt/hdd/torrent/"
targetDir="/mnt/hdd/torrent"
targetSize=$size
maxTimeoutLoops=100000
command="sudo lftp -c \"torrent -O ${targetDir} /home/admin/assets/${torrent}.torrent; bye\""
@ -134,7 +134,7 @@ if [ ${isRunning} -eq 1 ]; then
fi
# the path torrent will download to
targetPath="${targetDir}${torrent}"
targetPath="${targetDir}/${torrent}"
echo "path to downloaded data is ${targetPath}"
# calculate progress and write it to file for LCD to read

Loading…
Cancel
Save