mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 01:40:16 +01:00
fix: check for clboss on CLN config file
This commit is contained in:
parent
0e0afc7784
commit
f81881d9bf
@ -40,6 +40,15 @@ if [ $(grep -c "^sparko" < ${CLCONF}) -gt 0 ];then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $(grep -c "^clboss" < ${CLCONF}) -gt 0 ];then
|
||||
if [ ! -f /home/bitcoin/${netprefix}cl-plugins-enabled/clboss ]\
|
||||
|| [ "$(eval echo \$${netprefix}sparko)" != "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
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $(grep -c "^http-pass" < ${CLCONF}) -gt 0 ];then
|
||||
if [ ! -f /home/bitcoin/cl-plugins-enabled/c-lightning-http-plugin ]\
|
||||
|| [ "${clHTTPplugin}" != "on" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user