debug fix

This commit is contained in:
rootzoll
2019-02-05 18:24:33 +01:00
parent 32b9c74800
commit dadc33e61f
11 changed files with 115 additions and 122 deletions

View File

@@ -155,6 +155,8 @@ waitUntilChainNetworkIsReady()
fi
lndSynced=$(sudo -u bitcoin /usr/local/bin/lncli --chain=${network} --network=${chain}net getinfo 2>/dev/null | jq -r '.synced_to_chain' | grep -c true)
if [ ${lndSynced} -eq 0 ]; then
echo "test"
read key
./80scanLND.sh
else
# everything is ready - return from loop

View File

@@ -1,7 +1,7 @@
#!/bin/bash
source /home/admin/raspiblitz.info
source /mnt/hdd/raspiblitz.conf
source /mnt/hdd/raspiblitz.conf
### USER PI AUTOSTART (LCD Display)
localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')