cln: correct lightning name in FInalDialog + typo

This commit is contained in:
openoms 2021-07-21 19:43:53 +01:00
parent 402f1a8a17
commit a5747ba796
No known key found for this signature in database
GPG key ID: 5BFB77609B081B65
2 changed files with 7 additions and 2 deletions

View file

@ -386,7 +386,7 @@ if [ "${lightning}" == "cln" ]; then
# NEW WALLET
else
echo "Generare new CLN wallet ..." >> ${logFile}
echo "Generate new CLN wallet ..." >> ${logFile}
# generate new wallet
source <(sudo /home/admin/config.scripts/cln.hsmtool.sh new-force mainnet)

View file

@ -11,11 +11,16 @@ source ${SETUPFILE}
############################################
# SHOW SEED WORDS AFTER SETUP
if [ "${lightning}" == "lnd" ]; then
walletName="LND Wallet"
elif [ "${lightning}" == "cln" ]; then
walletName="C-lightning Wallet"
fi
if [ "${setupPhase}" == "setup" ] && [ "${seedwords6x4NEW}" != "" ]; then
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${seedwords6x4NEW}" 12 76
whiptail --title "IMPORTANT SEED WORDS - PLEASE WRITE DOWN" --msgbox "${walletName} got created. Store these numbered words in a safe location:\n\n${seedwords6x4NEW}" 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