mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
cl.backup: read key on BACKUP and improve output
This commit is contained in:
parent
4ead6f00d0
commit
f8ee4896f2
2 changed files with 7 additions and 2 deletions
|
@ -77,6 +77,9 @@ case $CHOICE in
|
|||
/home/admin/config.scripts/cl.backup.sh cl-export-gui production $_temp
|
||||
source $_temp 2>/dev/null
|
||||
sudo rm $_temp 2>/dev/null
|
||||
echo
|
||||
echo "Press ENTER when finished downloading."
|
||||
read key
|
||||
;;
|
||||
|
||||
RESET)
|
||||
|
@ -89,6 +92,7 @@ case $CHOICE in
|
|||
sudo rm $_temp 2>/dev/null
|
||||
echo
|
||||
echo "The rescue file is stored on the SDcard named cl-rescue.*.tar.gz just in case."
|
||||
echo
|
||||
echo "The next step will overwrite the old C-lighthning $CHAIN wallet"
|
||||
echo "Press ENTER to continue or CTRL+C to abort"
|
||||
read key
|
||||
|
@ -126,6 +130,7 @@ case $CHOICE in
|
|||
sudo rm $_temp 2>/dev/null
|
||||
echo
|
||||
echo "The rescue file is stored on the SDcard named cl-rescue.*.tar.gz just in case."
|
||||
echo
|
||||
echo "The next step will overwrite the old C-lighthning $CHAIN wallet"
|
||||
echo "Press ENTER to continue or CTRL+C to abort"
|
||||
read key
|
||||
|
@ -150,6 +155,7 @@ case $CHOICE in
|
|||
sudo rm $_temp 2>/dev/null
|
||||
echo
|
||||
echo "The rescue file is stored on the SDcard named cl-rescue.*.tar.gz just in case."
|
||||
echo
|
||||
echo "The next step will overwrite the old C-lighthning $CHAIN wallet"
|
||||
echo "Press ENTER to continue or CTRL+C to abort"
|
||||
read key
|
||||
|
|
|
@ -81,8 +81,7 @@ if [ ${mode} = "cl-export" ]; then
|
|||
fi
|
||||
|
||||
if [ ${mode} = "cl-export-gui" ]; then
|
||||
|
||||
# create lnd rescue file
|
||||
echo "# Create the CL rescue file ..."
|
||||
source <(/home/admin/config.scripts/cl.backup.sh cl-export)
|
||||
if [ "${error}" != "" ]; then
|
||||
echo "error='${error}'"
|
||||
|
|
Loading…
Add table
Reference in a new issue