mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-29 13:02:35 +02:00
#24 user info port forwarding
This commit is contained in:
@@ -223,11 +223,16 @@ if [ "${backupTorrentSeeding}" != "${choice}" ]; then
|
|||||||
anychange=1
|
anychange=1
|
||||||
if [ "${choice}" = "on" ]; then
|
if [ "${choice}" = "on" ]; then
|
||||||
sudo /home/admin/50torrentHDD.sh backup-torrent-hosting
|
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
|
else
|
||||||
echo "Stopping Torrents and Cleaning Up ..."
|
echo "Stopping Torrents and Cleaning Up ..."
|
||||||
sudo /home/admin/50torrentHDD.sh backup-torrent-hosting-cleanup
|
sudo /home/admin/50torrentHDD.sh backup-torrent-hosting-cleanup
|
||||||
echo "BACKUP TORRENT SEEDING IS NOW OFF"
|
echo "BACKUP TORRENT SEEDING IS NOW OFF"
|
||||||
|
needsReboot=1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "LND Autounlock Setting unchanged."
|
echo "LND Autounlock Setting unchanged."
|
||||||
|
@@ -440,8 +440,8 @@ sudo /home/admin/config.scripts/blitz.stresstest.sh /home/admin/stresstest.repor
|
|||||||
################################
|
################################
|
||||||
|
|
||||||
if [ "${backupTorrentSeeding}" == "on" ]; then
|
if [ "${backupTorrentSeeding}" == "on" ]; then
|
||||||
echo "Starting BACKUP TORRENT HOSTING in background ..." >> $logFile
|
echo "Starting BACKUP TORRENT HOSTING in background (after 5 minutes) ..." >> $logFile
|
||||||
sudo /home/admin/50torrentHDD.sh backup-torrent-hosting
|
( sleep 300 ; sudo /home/admin/50torrentHDD.sh backup-torrent-hosting ) &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "DONE BOOTSTRAP" >> $logFile
|
echo "DONE BOOTSTRAP" >> $logFile
|
||||||
|
Reference in New Issue
Block a user