mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-04 20:12:37 +02:00
cl.check: make sure plugins are loaded #2953
This commit is contained in:
@@ -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
|
# 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
|
# 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
|
if [ $(grep -c "^announce-addr=127.0.0.1" < ${CLCONF}) -gt 0 ];then
|
||||||
sed -i "/^announce-addr=127.0.0.1/d" ${CLCONF}
|
sed -i "/^announce-addr=127.0.0.1/d" ${CLCONF}
|
||||||
|
Reference in New Issue
Block a user