add cln wallet password to PASSWORD menu

This commit is contained in:
openoms 2021-09-20 12:19:07 +01:00
parent 36e25dc3c6
commit 6cc91f1f4d
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -45,7 +45,9 @@ if [ ${#abcd} -eq 0 ]; then
OPTIONS+=(A "Master Login Password")
OPTIONS+=(B "RPC/App Password")
if [ "${lightning}" == "lnd" ] || [ "${lnd}" == "on" ]; then
OPTIONS+=(C "Lightning Wallet Password")
OPTIONS+=(C "LND Lightning Wallet Password")
if [ "${cln}" == "on" ] && [ "${clnEncryptedHSM}" == "on" ]; then
OPTIONS+=(CLN "C-Lightning Wallet Password")
fi
CHOICE=$(dialog --clear \
--backtitle "RaspiBlitz" \
@ -68,6 +70,9 @@ if [ ${#abcd} -eq 0 ]; then
D)
abcd='d';
;;
CLN)
/home/admin/config.scripts/cln.hsmtool.sh change-password mainnet
;;
*)
exit 0
;;