mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-10 12:49:33 +02:00
cl.check: make sure plugins are loaded #2953
This commit is contained in:
parent
fbf6db75ab
commit
f6aeeb0fa7
@ -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
|
||||
######################################################################
|
||||
|
||||
# make sure plugins are loaded https://github.com/rootzoll/raspiblitz/issues/2953
|
||||
if [ $(grep -c "^plugin-dir=/home/bitcoin/${netprefix}cl-plugins-enabled" < ${CLCONF}) -eq 0 ];then
|
||||
echo "plugin-dir=/home/bitcoin/${netprefix}cl-plugins-enabled" | tee -a ${CLCONF}
|
||||
fi
|
||||
|
||||
# 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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user