mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 19:47:05 +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)
|
||||
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
|
||||
|
Reference in New Issue
Block a user