mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 20:42:41 +02:00
when running tor no external ip
This commit is contained in:
@@ -150,6 +150,9 @@ if [ "$1" == "prestart" ]; then
|
|||||||
# enforce PublicIP if (if not running Tor)
|
# enforce PublicIP if (if not running Tor)
|
||||||
if [ "${runBehindTor}" != "on" ]; then
|
if [ "${runBehindTor}" != "on" ]; then
|
||||||
setting ${lndConfFile} ${insertLine} "externalip" "${publicIP}:${lndPort}"
|
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
|
fi
|
||||||
|
|
||||||
# enforce LND keysend (if set in raspiblitz.conf)
|
# enforce LND keysend (if set in raspiblitz.conf)
|
||||||
|
Reference in New Issue
Block a user