mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 19:20:48 +02:00
parent
2aac9e8ab7
commit
eb66ab1b77
@ -111,8 +111,11 @@ case $CHOICE in
|
|||||||
--title "Encrypt the C-lightning wallet" \
|
--title "Encrypt the C-lightning wallet" \
|
||||||
--msgbox "\nWill proceed to encrypt and lock the C-lightning wallet to prevent it from starting automatically after the backup" 9 55
|
--msgbox "\nWill proceed to encrypt and lock the C-lightning wallet to prevent it from starting automatically after the backup" 9 55
|
||||||
sudo /home/admin/config.scripts/cl.hsmtool.sh encrypt mainnet
|
sudo /home/admin/config.scripts/cl.hsmtool.sh encrypt mainnet
|
||||||
/home/admin/config.scripts/cl.hsmtool.sh lock mainnet
|
|
||||||
fi
|
fi
|
||||||
|
if [ "${clAutoUnlock}" = "on" ]; then
|
||||||
|
/home/admin/config.scripts/cl.hsmtool.sh autounlock-off mainnet
|
||||||
|
fi
|
||||||
|
/home/admin/config.scripts/cl.hsmtool.sh lock mainnet
|
||||||
sudo /home/admin/config.scripts/blitz.migration.sh "export-gui"
|
sudo /home/admin/config.scripts/blitz.migration.sh "export-gui"
|
||||||
echo "Press ENTER to return to main menu."
|
echo "Press ENTER to return to main menu."
|
||||||
read key
|
read key
|
||||||
|
@ -90,13 +90,16 @@ case $CHOICE in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
BACKUP)
|
BACKUP)
|
||||||
if [ "${cl}" == "on" ] || [ "${cl}" == "1" ] && [ "${clEncryptedHSM}" != "on" ] ; then
|
if [ "${cl}" == "on" ] || [ "${cl}" == "1" ] && [ "${clEncryptedHSM}" != "on" ]; then
|
||||||
dialog \
|
dialog \
|
||||||
--title "Encrypt the C-lightning wallet" \
|
--title "Encrypt the C-lightning wallet" \
|
||||||
--msgbox "\nWill proceed to encrypt and lock the C-lightning wallet to prevent it from starting automatically after the backup" 9 55
|
--msgbox "\nWill proceed to encrypt and lock the C-lightning wallet to prevent it from starting automatically after the backup" 9 55
|
||||||
sudo /home/admin/config.scripts/cl.hsmtool.sh encrypt mainnet
|
sudo /home/admin/config.scripts/cl.hsmtool.sh encrypt mainnet
|
||||||
/home/admin/config.scripts/cl.hsmtool.sh lock mainnet
|
|
||||||
fi
|
fi
|
||||||
|
if [ "${clAutoUnlock}" = "on" ]; then
|
||||||
|
/home/admin/config.scripts/cl.hsmtool.sh autounlock-off mainnet
|
||||||
|
fi
|
||||||
|
/home/admin/config.scripts/cl.hsmtool.sh lock mainnet
|
||||||
## from dialogLightningWallet.sh
|
## from dialogLightningWallet.sh
|
||||||
_temp="/var/cache/raspiblitz/temp/.temp.tmp"
|
_temp="/var/cache/raspiblitz/temp/.temp.tmp"
|
||||||
clear
|
clear
|
||||||
|
Loading…
Reference in New Issue
Block a user