From 8c9bb20ce6047df2e317b6025f16860dde24b2e0 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Mon, 30 Aug 2021 21:23:44 +0200 Subject: [PATCH] rename password change menu --- .../config.scripts/blitz.setpassword.sh | 21 +++++-------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/home.admin/config.scripts/blitz.setpassword.sh b/home.admin/config.scripts/blitz.setpassword.sh index 583425087..adfcf2e0e 100755 --- a/home.admin/config.scripts/blitz.setpassword.sh +++ b/home.admin/config.scripts/blitz.setpassword.sh @@ -39,9 +39,11 @@ OPTIONS=() if [ ${#abcd} -eq 0 ]; then reboot=1; emptyAllowed=1 - OPTIONS+=(A "Master User Password / SSH") - OPTIONS+=(B "RPC Password (blockchain/lnd)") - OPTIONS+=(C "LND Wallet Password") + OPTIONS+=(A "Master Login Password") + OPTIONS+=(B "RPC/App Password") + if [ "${lightning}" == "lnd" ] || [ "${lnd}" == "on" ]; then + OPTIONS+=(C "Lightning Wallet Password") + fi CHOICE=$(dialog --clear \ --backtitle "RaspiBlitz" \ --title "Set Password" \ @@ -368,19 +370,6 @@ elif [ "${abcd}" = "c" ]; then exit 0 fi - # old manual way - # clear - # echo "" - # echo "****************************************************************************" - # echo "Change LND Wallet Password --> lncli --chain=${network} --network=${chain}net changepassword" - # echo "****************************************************************************" - # echo "This is your Password C on the RaspiBlitz to unlock your LND wallet." - # echo "If you had Auto-Unlock active - you need to re-activate after this." - # echo "****************************************************************************" - # sleep 6 - # let LND-CLI handle the password change - # sudo -u bitcoin lncli --chain=${network} --network=${chain}net changepassword - # final user output echo "" echo "OK"