fix typos

This commit is contained in:
openoms 2021-09-20 14:44:56 +01:00
parent 46fdf6d0a6
commit 62f7d59acb
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65
2 changed files with 9 additions and 3 deletions

View File

@ -46,6 +46,7 @@ if [ ${#abcd} -eq 0 ]; then
OPTIONS+=(B "RPC/App Password")
if [ "${lightning}" == "lnd" ] || [ "${lnd}" == "on" ]; then
OPTIONS+=(C "LND Lightning Wallet Password")
fi
if [ "${cln}" == "on" ] && [ "${clnEncryptedHSM}" == "on" ]; then
OPTIONS+=(CLN "C-Lightning Wallet Password")
fi
@ -71,7 +72,7 @@ if [ ${#abcd} -eq 0 ]; then
abcd='d';
;;
CLN)
/home/admin/config.scripts/cln.hsmtool.sh change-password mainnet
abcd='cln';
;;
*)
exit 0
@ -440,7 +441,12 @@ elif [ "${abcd}" = "x" ]; then
# store result is file
echo "${password1}" > ${resultFile}
elif [ "${abcd}" = "cln" ]; then
/home/admin/config.scripts/cln.hsmtool.sh change-password mainnet
# do not reboot for cln password
reboot=0
# everything else
else
echo "FAIL: there is no password '${abcd}' (reminder: use lower case)"

View File

@ -65,7 +65,7 @@ do
# setting info string
infoStr=" Blockchain Progress : ${syncProgress}\n"
if [ "${lightning}" == "lnd" ] || [ "${lightning}" == "cln" ]; then
if [ "${lightning}" == "lnd" ] || [ "${lightning}" == "cln" ]; then
infoStr="${infoStr} Lightning Progress : ${scanProgress}\n ${actionString}"
else
# if lightning is deactivated (leave line clear)