From f1e3c714f903d624a34ef96df384daacbd2a2415 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Thu, 11 Apr 2019 19:20:15 +0100 Subject: [PATCH] #24 user info port forwarding --- home.admin/00settingsMenuServices.sh | 7 ++++++- home.admin/_bootstrap.sh | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/home.admin/00settingsMenuServices.sh b/home.admin/00settingsMenuServices.sh index 8e90ceb..81c9a87 100644 --- a/home.admin/00settingsMenuServices.sh +++ b/home.admin/00settingsMenuServices.sh @@ -223,11 +223,16 @@ if [ "${backupTorrentSeeding}" != "${choice}" ]; then anychange=1 if [ "${choice}" = "on" ]; then sudo /home/admin/50torrentHDD.sh backup-torrent-hosting - echo "BACKUP TORRENT SEEDING IS NOW ON" + l1="BACKUP TORRENT SEEDING IS NOW ON" + l2="-------------------------" + l3="If possible forward ports 49200-49250" + l4="from your router to this RaspiBlitz" + dialog --title 'OK' --msgbox "${l1}\n${l2}\n${l3}\n${l4}" 11 60 else echo "Stopping Torrents and Cleaning Up ..." sudo /home/admin/50torrentHDD.sh backup-torrent-hosting-cleanup echo "BACKUP TORRENT SEEDING IS NOW OFF" + needsReboot=1 fi else echo "LND Autounlock Setting unchanged." diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index adc5066..2be4e4b 100644 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -440,8 +440,8 @@ sudo /home/admin/config.scripts/blitz.stresstest.sh /home/admin/stresstest.repor ################################ if [ "${backupTorrentSeeding}" == "on" ]; then - echo "Starting BACKUP TORRENT HOSTING in background ..." >> $logFile - sudo /home/admin/50torrentHDD.sh backup-torrent-hosting + echo "Starting BACKUP TORRENT HOSTING in background (after 5 minutes) ..." >> $logFile + ( sleep 300 ; sudo /home/admin/50torrentHDD.sh backup-torrent-hosting ) & fi echo "DONE BOOTSTRAP" >> $logFile