mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
lnd unlock after provision
This commit is contained in:
@@ -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}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user