when running tor no external ip

This commit is contained in:
rootzoll
2021-08-28 22:13:47 +02:00
parent 486f4327f7
commit 7c09016e94

View File

@@ -150,6 +150,9 @@ if [ "$1" == "prestart" ]; then
# enforce PublicIP if (if not running Tor)
if [ "${runBehindTor}" != "on" ]; then
setting ${lndConfFile} ${insertLine} "externalip" "${publicIP}:${lndPort}"
else
# when running Tor a public ip can make startup problems - so remove
sed -i '/^externalip=*/d' ${lndConfFile}
fi
# enforce LND keysend (if set in raspiblitz.conf)