mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
#2644 disable password c when no lightning
This commit is contained in:
@@ -254,7 +254,11 @@ if [ "${setupPhase}" == "setup" ]; then
|
|||||||
|
|
||||||
lightningWalletDone=0
|
lightningWalletDone=0
|
||||||
source ${SETUPFILE}
|
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" ]
|
while [ "${lightningWalletDone}" == "0" ]
|
||||||
do
|
do
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user