mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-26 07:24:40 +01:00
parent
515e211983
commit
46264131c1
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ if [ "${lightning}" == "cl" ]; then
|
||||||
if [ ${#address} -eq 0 ];then
|
if [ ${#address} -eq 0 ];then
|
||||||
address=$(echo "${ln_getInfo}" | grep '"ipv4"' -A 1 | tail -1 | cut -d '"' -f4)
|
address=$(echo "${ln_getInfo}" | grep '"ipv4"' -A 1 | tail -1 | cut -d '"' -f4)
|
||||||
fi
|
fi
|
||||||
ln_external="${pubkey}@${address}"
|
ln_external="${pubkey}@${address}:${ln_port}"
|
||||||
ln_tor=$(echo "${ln_external}" | grep -c ".onion")
|
ln_tor=$(echo "${ln_external}" | grep -c ".onion")
|
||||||
if [ ${ln_tor} -eq 1 ]; then
|
if [ ${ln_tor} -eq 1 ]; then
|
||||||
ln_publicColor="${color_green}"
|
ln_publicColor="${color_green}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue