Browse Source

fix torrent after install

master
Christian Rotzoll 6 years ago
parent
commit
bad94b8daa
  1. 2
      home.admin/00infoBlitz.sh
  2. 2
      home.admin/50torrentHDD.sh

2
home.admin/00infoBlitz.sh

@ -273,6 +273,7 @@ fi
# STATUS SINALING: Backup Torrent Seeding
torrentBaseStatus="•"
torrentUpdateStatus="•"
if [ "${backupTorrentSeeding}" == "on" ]; then
source <(sudo -u admin /home/admin/50torrentHDD.sh status)
if [ "${baseComplete}" == "1" ]; then
torrentBaseStatus="↑"
@ -284,6 +285,7 @@ if [ "${updateComplete}" == "1" ]; then
elif [ "${updateSeeding}" == "1" ]; then
torrentUpdateStatus="↓"
fi
fi
sleep 5
printf "

2
home.admin/50torrentHDD.sh

@ -367,8 +367,8 @@ date +%s
echo "can take 10-60 minutes... please wait"
sudo mkdir /mnt/hdd/${network} 2>/dev/null
sudo mv ${targetPath1}/* /mnt/hdd/${network}/
sudo rm -r ${sessionDir}/blockchain
sudo cp --verbose -r ${targetPath2}/* /mnt/hdd/${network}/
sudo rm -r ${targetDir}
echo "OK"
date +%s

Loading…
Cancel
Save