mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-23 09:16:57 +02:00
debug output
This commit is contained in:
@@ -32,6 +32,8 @@ if [ ${lndRunning} -eq 1 ]; then
|
|||||||
locked=0
|
locked=0
|
||||||
# only when a wallet exists - it can be locked
|
# only when a wallet exists - it can be locked
|
||||||
if [ ${walletExists} -eq 1 ];then
|
if [ ${walletExists} -eq 1 ];then
|
||||||
|
echo "lnd wallet exists ... checking if locked"
|
||||||
|
sleep 2
|
||||||
locked=$(sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log 2>/dev/null | grep -c unlock)
|
locked=$(sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log 2>/dev/null | grep -c unlock)
|
||||||
fi
|
fi
|
||||||
if [ ${locked} -gt 0 ]; then
|
if [ ${locked} -gt 0 ]; then
|
||||||
|
Reference in New Issue
Block a user