mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-10 21:03:09 +02:00
add seed word confirmation
This commit is contained in:
@@ -12,11 +12,15 @@ source ${SETUPFILE}
|
|||||||
############################################
|
############################################
|
||||||
# SHOW SEED WORDS AFTER SETUP
|
# SHOW SEED WORDS AFTER SETUP
|
||||||
if [ "${setupPhase}" == "setup" ]; then
|
if [ "${setupPhase}" == "setup" ]; then
|
||||||
clear
|
ack=0
|
||||||
echo "Write down your seedwords:"
|
while [ ${ack} -eq 0 ]
|
||||||
echo "${seedwords6x4NEW}"
|
do
|
||||||
echo "PRESS ENTER"
|
whiptail --title "IMPORTANT SEED WORDS - PLEASE WRITE DOWN" --msgbox "LND Wallet got created. Store these numbered words in a safe location:\n\n${seedwords6x4}" 12 76
|
||||||
read key
|
whiptail --title "Please Confirm" --yes-button "Show Again" --no-button "CONTINUE" --yesno " Are you sure that you wrote down the word list?" 8 55
|
||||||
|
if [ $? -eq 1 ]; then
|
||||||
|
ack=1
|
||||||
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
|
Reference in New Issue
Block a user