mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-26 07:24:40 +01:00
parent
46264131c1
commit
2993ad76e8
2 changed files with 5 additions and 1 deletions
|
@ -21,6 +21,11 @@ source <(/home/admin/config.scripts/network.aliases.sh getvars cl $2)
|
|||
# so it tries to make sure the config is in valid shape
|
||||
######################################################################
|
||||
|
||||
# do not announce 127.0.0.1 https://github.com/rootzoll/raspiblitz/issues/2634
|
||||
if [ $(grep -c "^announce-addr=127.0.0.1" < ${CLCONF}) -gt 0 ];then
|
||||
sed -i "/^announce-addr=127.0.0.1/d" ${CLCONF}
|
||||
fi
|
||||
|
||||
if [ $(grep -c "^sparko" < ${CLCONF}) -gt 0 ];then
|
||||
if [ ! -f /home/bitcoin/${netprefix}cl-plugins-enabled/sparko ]\
|
||||
|| [ "$(eval echo \$${netprefix}sparko)" != "on" ]; then
|
||||
|
|
|
@ -183,7 +183,6 @@ if [ "$1" = on ]||[ "$1" = update ]||[ "$1" = testPR ];then
|
|||
echo "# lightningd configuration for ${network} ${CHAIN}
|
||||
|
||||
network=${CLNETWORK}
|
||||
announce-addr=127.0.0.1:${portprefix}9736
|
||||
log-file=cl.log
|
||||
log-level=info
|
||||
plugin-dir=/home/bitcoin/${netprefix}cl-plugins-enabled
|
||||
|
|
Loading…
Add table
Reference in a new issue