lnbits: cl fix for testnets #3007

This commit is contained in:
openoms 2022-03-08 18:22:40 +00:00
parent 723d385bb7
commit ed5615712c
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -61,7 +61,7 @@ if [ $(grep -c "^feeadjuster" < ${CLCONF}) -gt 0 ];then
fi
fi
if [ "${LNBitsFunding}" = "cl" ]; then
if [ "${LNBitsFunding}" = "${netprefix}cl" ]; then
# https://github.com/rootzoll/raspiblitz/issues/3007
if [ $(grep -c "^rpc-file-mode=0660" < ${CLCONF}) -eq 0 ]; then
echo "rpc-file-mode=0660" | tee -a ${CLCONF}