mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-17 21:31:45 +01:00
closes issue #34
This commit is contained in:
parent
27bbaca54e
commit
c22be70e96
@ -110,7 +110,7 @@ local_ip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1
|
||||
public_ip=$(curl -s http://v4.ipv6-test.com/api/myip.php)
|
||||
public_port=$(cat ${bitcoin_dir}/${network}.conf 2>/dev/null | grep port= | awk -F"=" '{print $2}')
|
||||
if [ "${public_port}" = "" ]; then
|
||||
if [ $chain = "test" ]; then
|
||||
if [ "${chain}" = "test" ]; then
|
||||
public_port=18333
|
||||
else
|
||||
public_port=8333
|
||||
|
Loading…
x
Reference in New Issue
Block a user