#2644 disable password c when no lightning

This commit is contained in:
rootzoll
2021-11-30 18:13:28 +01:00
parent 49d44abcca
commit 18a7ed9c3d

View File

@@ -254,7 +254,11 @@ if [ "${setupPhase}" == "setup" ]; then
lightningWalletDone=0
source ${SETUPFILE}
if [ "${lightning}" == "none" ]; then lightningWalletDone=1; fi
if [ "${lightning}" == "none" ]; then
lightningWalletDone=1
# also disable asking for password c if no lightning implementation was chosen
sed -i "s/^setPasswordC=.*/setPasswordC=0/g" ${SETUPFILE}
fi
while [ "${lightningWalletDone}" == "0" ]
do