mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 04:26:28 +02:00
lnd port update
This commit is contained in:
@@ -165,7 +165,9 @@ fi
|
|||||||
|
|
||||||
# CUSTOM PORT
|
# CUSTOM PORT
|
||||||
echo "Provisioning LND Port" >> ${logFile}
|
echo "Provisioning LND Port" >> ${logFile}
|
||||||
lndPort=$(sudo cat /mnt/hdd/lnd/lnd.conf | grep "^listen=*" | cut -f2 -d':')
|
if [ ${#lndPort} -eq 0 ]; then
|
||||||
|
lndPort=$(sudo cat /mnt/hdd/lnd/lnd.conf | grep "^listen=*" | cut -f2 -d':')
|
||||||
|
fi
|
||||||
if [ ${#lndPort} -gt 0 ]; then
|
if [ ${#lndPort} -gt 0 ]; then
|
||||||
if [ "${lndPort}" != "9735" ]; then
|
if [ "${lndPort}" != "9735" ]; then
|
||||||
echo "User is running custom LND port: ${lndPort}" >> ${logFile}
|
echo "User is running custom LND port: ${lndPort}" >> ${logFile}
|
||||||
|
@@ -103,7 +103,7 @@ if sys.argv[1] == "on":
|
|||||||
forwardingLND = True
|
forwardingLND = True
|
||||||
if port_internal != port_external:
|
if port_internal != port_external:
|
||||||
print("FAIL: When tunneling your local LND port '%s' it needs to be the same on the external server, but is '%s'" % (LNDPORT,port_external))
|
print("FAIL: When tunneling your local LND port '%s' it needs to be the same on the external server, but is '%s'" % (LNDPORT,port_external))
|
||||||
print("Try again by using the same port. If you cant change the external port, change local LND port with: /home/config.scripts/lnd.setport.sh")
|
print("Try again by using the same port. If you cant change the external port, change local LND port with: /home/admin/config.scripts/lnd.setport.sh")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
ssh_ports = ssh_ports + "\"%s\" " % (sys.argv[i])
|
ssh_ports = ssh_ports + "\"%s\" " % (sys.argv[i])
|
||||||
|
Reference in New Issue
Block a user