mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-27 02:01:53 +01:00
#2586 name it password C in c-lightning
This commit is contained in:
parent
e548f2e9c7
commit
58f21fa6f9
@ -61,7 +61,7 @@ function passwordToFile() {
|
||||
if [ $# -gt 0 ];then
|
||||
text="$1"
|
||||
else
|
||||
text="Type or paste the decryption password for the $CHAIN C-lightning wallet"
|
||||
text="Type or paste the decryption passwordC for the $CHAIN C-lightning wallet"
|
||||
fi
|
||||
# write password into a file in memory
|
||||
# trap to delete on any exit
|
||||
@ -113,7 +113,7 @@ function encryptHSMsecret() {
|
||||
if [ ${#walletPassword} -eq 0 ];then
|
||||
# ask for password in dialog if $walletPassword is not given in $3
|
||||
sudo /home/admin/config.scripts/blitz.setpassword.sh x \
|
||||
"Enter the password to encrypt the C-lightning wallet file (hsm_secret)" \
|
||||
"Enter the password C to encrypt the C-lightning wallet file (hsm_secret)" \
|
||||
"$passwordFile"
|
||||
sudo chown bitcoin:bitcoin $passwordFile
|
||||
sudo chmod 600 $passwordFile
|
||||
|
Loading…
x
Reference in New Issue
Block a user