mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 18:07:45 +01:00
fix donwload path
This commit is contained in:
@@ -22,7 +22,7 @@ fi
|
|||||||
|
|
||||||
# screen background monitoring settings
|
# screen background monitoring settings
|
||||||
name="torrent"
|
name="torrent"
|
||||||
targetDir="/mnt/hdd/torrent/"
|
targetDir="/mnt/hdd/torrent"
|
||||||
targetSize=$size
|
targetSize=$size
|
||||||
maxTimeoutLoops=100000
|
maxTimeoutLoops=100000
|
||||||
command="sudo lftp -c \"torrent -O ${targetDir} /home/admin/assets/${torrent}.torrent; bye\""
|
command="sudo lftp -c \"torrent -O ${targetDir} /home/admin/assets/${torrent}.torrent; bye\""
|
||||||
@@ -134,7 +134,7 @@ if [ ${isRunning} -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# the path torrent will download to
|
# the path torrent will download to
|
||||||
targetPath="${targetDir}${torrent}"
|
targetPath="${targetDir}/${torrent}"
|
||||||
echo "path to downloaded data is ${targetPath}"
|
echo "path to downloaded data is ${targetPath}"
|
||||||
|
|
||||||
# calculate progress and write it to file for LCD to read
|
# calculate progress and write it to file for LCD to read
|
||||||
|
|||||||
Reference in New Issue
Block a user