mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
add bash to command
This commit is contained in:
parent
fb9779d52d
commit
afd49243e7
@ -25,7 +25,7 @@ name="torrent"
|
||||
targetDir="/mnt/hdd/torrent"
|
||||
targetSize=$size
|
||||
maxTimeoutLoops=100000
|
||||
command="sudo lftp -c \"torrent -O ${targetDir} /home/admin/assets/${torrent}.torrent; bye\""
|
||||
command="bash -c 'sudo lftp -c \"torrent -O ${targetDir} /home/admin/assets/${torrent}.torrent; bye\"'"
|
||||
|
||||
# starting session if needed
|
||||
echo "checking if ${name} has a running screen session"
|
||||
|
Loading…
x
Reference in New Issue
Block a user