cln.install: check and install sparko if in conf

This commit is contained in:
openoms 2021-06-11 09:46:14 +01:00
parent 96afe00017
commit 604cf68b10
No known key found for this signature in database
GPG key ID: 5BFB77609B081B65

View file

@ -160,7 +160,10 @@ always-use-proxy=true
" | sudo tee /home/bitcoin/.lightning/${netprefix}config
else
echo "# The file /home/bitcoin/.lightning/${netprefix}config is already present"
#TODO look for pluging configs and clear or install
#TODO look for plugin configs and clear or install
if [ $(grep -c "^sparko" < /home/bitcoin/.lightning/${netprefix}config) -gt 0 ];then
cln.sparko.sh on $NETWORK
fi
fi
sudo chown -R bitcoin:bitcoin /mnt/hdd/app-data/.lightning
sudo chown -R bitcoin:bitcoin /home/bitcoin/