Browse Source

move rtorrent check

master
Christian Rotzoll 6 years ago
parent
commit
53a4683cd0
  1. 7
      home.admin/50torrentHDD.sh

7
home.admin/50torrentHDD.sh

@ -8,10 +8,6 @@
## get basic info
source /home/admin/raspiblitz.info
# make sure rtorrent is available
sudo apt-get install rtorrent -y 1>/dev/null 2>/dev/null
# torrent files that are available
# in directory /home.admin/assets/
# WITHOUT THE '.torrent' ENDING
@ -81,6 +77,9 @@ if [ "$1" == "backup-torrent-hosting-status" ]; then
exit
fi
# make sure rtorrent is available
sudo apt-get install rtorrent -y 1>/dev/null 2>/dev/null
# if setup was done - remove old data
if [ "${setupStep}" = "100" ] && [ ${#1} -eq 0 ]; then
echo "stopping servcies ..."

Loading…
Cancel
Save