diff --git a/home.admin/setup.scripts/finalDialogControl.sh b/home.admin/setup.scripts/finalDialogControl.sh index a69ac9496..ab1761d64 100755 --- a/home.admin/setup.scripts/finalDialogControl.sh +++ b/home.admin/setup.scripts/finalDialogControl.sh @@ -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 ############################################