prevent lnd wallet unlock if setup id not done

This commit is contained in:
rootzoll 2021-09-05 18:45:15 +02:00
parent c55c69dcbe
commit bf9625188e

View File

@ -130,7 +130,7 @@ do
############################
# LND Wallet Unlock
if [ "${lndActive}" == "1" ] && [ "${walletLocked}" == "1" ] && [ "${state}" == "ready" ]; then
if [ "${lndActive}" == "1" ] && [ "${walletLocked}" == "1" ] && [ "${state}" == "ready" ] && [ "${setupPhase}" == "done" ]; then
#echo "# lnd.unlock.sh"
/home/admin/config.scripts/lnd.unlock.sh
fi