From 97b73aea2f83e77a5fcbdb0d2fa36cf20404aa21 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 16 Jan 2019 00:01:59 +0100 Subject: [PATCH] removed old code --- home.admin/00settingsMenuServices.sh | 16 ---------------- home.admin/config.scripts/lnd.export.sh | 2 ++ 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/home.admin/00settingsMenuServices.sh b/home.admin/00settingsMenuServices.sh index 65ec1bbc..936fd594 100644 --- a/home.admin/00settingsMenuServices.sh +++ b/home.admin/00settingsMenuServices.sh @@ -3,8 +3,6 @@ # get raspiblitz config source /mnt/hdd/raspiblitz.conf if [ ${#autoPilot} -eq 0 ]; then autoPilot="off"; fi -# deactivated - see https://github.com/rootzoll/raspiblitz/issues/248 -#if [ ${#autoNatDiscovery} -eq 0 ]; then autoNatDiscovery="off"; fi if [ ${#autoUnlock} -eq 0 ]; then autoUnlock="off"; fi if [ ${#runBehindTor} -eq 0 ]; then runBehindTor="off"; fi if [ ${#rtlWebinterface} -eq 0 ]; then rtlWebinterface="off"; fi @@ -26,8 +24,6 @@ fi CHOICES=$(dialog --checklist 'Activate/Deactivate Services:' 15 45 7 \ 1 'Channel Autopilot' ${autoPilot} \ 2 'Testnet' ${chainValue} \ -# deactivated - see https://github.com/rootzoll/raspiblitz/issues/248 -# 3 'Router AutoNAT' ${autoNatDiscovery} \ 3 ${dynDomainMenu} ${domainValue} \ 4 'Run behind TOR' ${runBehindTor} \ 5 'RTL Webinterface' ${rtlWebinterface} \ @@ -127,18 +123,6 @@ else echo "Testnet Setting unchanged." fi -# deactivated - see https://github.com/rootzoll/raspiblitz/issues/248 -# AUTONAT process choice -# choice="off"; check=$(echo "${CHOICES}" | grep -c "3") -# if [ ${check} -eq 1 ]; then choice="on"; fi -# if [ "${autoNatDiscovery}" != "${choice}" ]; then -# echo "AutoNAT Setting changed .." -# sudo /home/admin/config.scripts/lnd.autonat.sh ${choice} -# needsReboot=1 -# else -# echo "AutoNAT Setting unchanged." -# fi - # Dynamic Domain choice="off"; check=$(echo "${CHOICES}" | grep -c "3") if [ ${check} -eq 1 ]; then choice="on"; fi diff --git a/home.admin/config.scripts/lnd.export.sh b/home.admin/config.scripts/lnd.export.sh index cba0c97a..8ed23571 100644 --- a/home.admin/config.scripts/lnd.export.sh +++ b/home.admin/config.scripts/lnd.export.sh @@ -91,10 +91,12 @@ elif [ ${exportType} = "http" ]; then echo "###### DOWNLOAD BY HTTP ######" echo "" echo "Open in your browser --> http://${local_ip}:${randomPortNumber}" + echo "" echo "You need to be on the same local network - not reachable from outside." echo "In browser click on files or use 'save as' from context menu to download." echo "" echo "Temp HTTP Server is running - use CTRL+C to stop when you are done" + echo "" cd randomFolderName=$(shuf -i 100000000-900000000 -n 1) mkdir ${randomFolderName}