mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 12:06:36 +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)
|
||||
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)
|
||||
|
Reference in New Issue
Block a user