mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
unlock lnd on setup
This commit is contained in:
parent
541f1defc0
commit
d0f4e8d12e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
if [ ${locked} -gt 0 ]; then
|
||||
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
|
||||
echo "OK - Wallet is already unlocked" >> ${logFile}
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue