mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 19:47:05 +02:00
add seed word confirmation
This commit is contained in:
@@ -12,11 +12,15 @@ source ${SETUPFILE}
|
||||
############################################
|
||||
# SHOW SEED WORDS AFTER SETUP
|
||||
if [ "${setupPhase}" == "setup" ]; then
|
||||
clear
|
||||
echo "Write down your seedwords:"
|
||||
echo "${seedwords6x4NEW}"
|
||||
echo "PRESS ENTER"
|
||||
read key
|
||||
ack=0
|
||||
while [ ${ack} -eq 0 ]
|
||||
do
|
||||
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
|
||||
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
|
||||
|
||||
############################################
|
||||
|
Reference in New Issue
Block a user