mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 20:42:41 +02:00
unlock lnd on setup
This commit is contained in:
@@ -337,7 +337,7 @@ if [ "${lightning}" == "lnd" ]; then
|
|||||||
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)
|
||||||
if [ ${locked} -gt 0 ]; then
|
if [ ${locked} -gt 0 ]; then
|
||||||
echo "OK - Wallet is locked ... starting unlocking dialog" >> ${logFile}
|
echo "OK - Wallet is locked ... starting unlocking dialog" >> ${logFile}
|
||||||
/home/admin/config.scripts/lnd.unlock.sh >> ${logFile}
|
/home/admin/config.scripts/lnd.unlock.sh "${passwordC}" >> ${logFile}
|
||||||
else
|
else
|
||||||
echo "OK - Wallet is already unlocked" >> ${logFile}
|
echo "OK - Wallet is already unlocked" >> ${logFile}
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user