Small Changes (#3469)

* more structural comments
* improve conf check
This commit is contained in:
/rootzoll 2022-11-22 19:27:25 +01:00 committed by GitHub
parent 7f05277f5f
commit 6dae0283de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -88,7 +88,7 @@ while :
source ${infoFile}
source <(/home/admin/_cache.sh get state message)
configExists=$(ls ${configFile} 2>/dev/null | grep -c '.conf')
configExists=$(ls "${configFile}" 2>/dev/null | grep -c '.conf')
if [ ${configExists} -eq 1 ]; then
source ${configFile}
source <(/home/admin/config.scripts/network.aliases.sh getvars)

View file

@ -405,7 +405,7 @@ do
fi
###############################
# SCB Monitoring
# SCB Monitoring (LND)
###############################
# check every 1min (only when lnd active)
@ -509,6 +509,9 @@ do
fi
fi
###################################
# Emergency Backup Monitoring (CLN)
###################################
# check every 1min for cln
recheckER=0