mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 01:46:42 +01:00
debug fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'/')
|
||||
|
||||
Reference in New Issue
Block a user