mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 15:10:38 +01:00
lnd unlock after provision
This commit is contained in:
parent
d3ab78ccfd
commit
113483f638
1 changed files with 10 additions and 0 deletions
|
@ -554,6 +554,16 @@ if [ ${isMounted} -eq 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# unlock lnd if needed
|
||||||
|
source ${setupFile}
|
||||||
|
if [ "${lightning}" == "lnd" ]; then
|
||||||
|
echo "Unlock LND at end of provision ..." >> $logFile
|
||||||
|
/home/admin/config.scripts/lnd.unlock.sh "${passwordC}" >> ${logFile}
|
||||||
|
sleep 3
|
||||||
|
else
|
||||||
|
echo "No lightning unlock (${lightning})" >> $logFile
|
||||||
|
fi
|
||||||
|
|
||||||
# mark provision process done
|
# mark provision process done
|
||||||
sed -i "s/^message=.*/message='Provision Done'/g" ${infoFile}
|
sed -i "s/^message=.*/message='Provision Done'/g" ${infoFile}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue