cl.check: fix detection for clboss in config

This commit is contained in:
openoms 2022-06-28 13:42:28 +01:00
parent 7844dcafef
commit 5957cb0d3a
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -42,7 +42,7 @@ fi
if [ $(grep -c "^clboss" < ${CLCONF}) -gt 0 ];then
if [ ! -f /home/bitcoin/${netprefix}cl-plugins-enabled/clboss ]\
|| [ "$(eval echo \$${netprefix}sparko)" != "on" ]; then
|| [ "$(eval echo \$${netprefix}clboss)" != "on" ]; then
echo "# The clboss plugin is not present but in config"
sed -i "/^clboss/d" ${CLCONF}
rm -rf /home/bitcoin/${netprefix}cl-plugins-enabled/clboss