get status info from script

This commit is contained in:
Christian Rotzoll
2019-04-11 23:40:21 +01:00
parent 61b53f4244
commit 2561b2d70b

View File

@@ -273,7 +273,7 @@ fi
# STATUS SINALING: Backup Torrent Seeding # STATUS SINALING: Backup Torrent Seeding
torrentBaseStatus="•" torrentBaseStatus="•"
torrentUpdateStatus="•" torrentUpdateStatus="•"
sudo /home/admin/50torrentHDD.sh backup-torrent-hosting-status | source /dev/stdin source <(/home/admin/50torrentHDD.sh backup-torrent-hosting-status)
if [ "${baseComplete}" == "1" ]; then if [ "${baseComplete}" == "1" ]; then
torrentBaseStatus="↑" torrentBaseStatus="↑"
elif [ "${baseSeeding}" == "1" ]; then elif [ "${baseSeeding}" == "1" ]; then