Switching TOR off fixes (#1826)

This commit is contained in:
Christian Rotzoll 2020-11-30 21:27:51 +01:00 committed by rootzoll
parent c9e5cf2783
commit 85a9c70314
3 changed files with 3 additions and 1 deletions

View File

@ -236,6 +236,7 @@ How do you want to continue?
echo "please wait ... update to next screen can be slow"
else
/home/admin/80scanLND.sh lightning-error
sudo rm /home/admin/systemd.lightning.log
echo "(exit after too much restarts/unlocks - restart to try again)"
exit 0
fi

View File

@ -201,7 +201,6 @@ elif [ "$1" == "update-publicip" ]; then
publicIP="$2"
elif [ "${globalIP}" == "${cleanIP}" ]; then
echo "ip_changed=0"
exit 0
else
echo "ip_changed=1"
if [ "${ipv6}" == "on" ]; then

View File

@ -462,6 +462,8 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
sudo sed -i '/\[Tor\]*/d' /mnt/hdd/lnd/lnd.conf
sudo sed -i '/^tor.password=*/d' /mnt/hdd/lnd/lnd.conf
sudo /home/admin/config.scripts/internet.sh update-publicip
sudo systemctl enable lnd
echo "OK"
echo ""