|
@ -191,7 +191,6 @@ olaoluwaPGP="65317176B6857F98834EDBE8964EA263DD637C21" |
|
|
|
|
|
|
|
|
# setup public ip service |
|
|
# setup public ip service |
|
|
cat > ./getpublicip.sh <<EOF |
|
|
cat > ./getpublicip.sh <<EOF |
|
|
getPubliIPScript='' read -r -d '' String <<"EOF" |
|
|
|
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
# RaspiBolt LND Mainnet: script to get public ip address |
|
|
# RaspiBolt LND Mainnet: script to get public ip address |
|
|
# /usr/local/bin/getpublicip.sh |
|
|
# /usr/local/bin/getpublicip.sh |
|
@ -199,7 +198,7 @@ getPubliIPScript='' read -r -d '' String <<"EOF" |
|
|
echo 'getpublicip.sh started, writing public IP address every 10 minutes into /run/publicip' |
|
|
echo 'getpublicip.sh started, writing public IP address every 10 minutes into /run/publicip' |
|
|
while [ 0 ]; |
|
|
while [ 0 ]; |
|
|
do |
|
|
do |
|
|
printf "PUBLICIP=$(curl -vv ipinfo.io/ip 2> /run/publicip.log)\n" > /run/publicip; |
|
|
printf "PUBLICIP=\$(curl -vv ipinfo.io/ip 2> /run/publicip.log)\n" > /run/publicip; |
|
|
sleep 600 |
|
|
sleep 600 |
|
|
done; |
|
|
done; |
|
|
EOF |
|
|
EOF |
|
|