From 3a9943fe819c8bdcadb8123b4d1b8eb54cd0ce47 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Sun, 17 Mar 2019 03:33:42 +0100 Subject: [PATCH] updated dialogs --- home.admin/00mainMenu.sh | 12 ++++++------ home.admin/config.scripts/lnd.rescue.sh | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/home.admin/00mainMenu.sh b/home.admin/00mainMenu.sh index 65e1daa..b4a431c 100755 --- a/home.admin/00mainMenu.sh +++ b/home.admin/00mainMenu.sh @@ -153,31 +153,31 @@ https://github.com/rootzoll/raspiblitz/blob/master/FAQ.md The RaspiBlitz will now try to help you on with the repair. Maybe use BACKUP option first to secure your funds & channels. -" 13 52 +" 13 65 clear # Basic Options OPTIONS=(TORRENT "Redownload Prepared Torrent (DEFAULT)" \ - COPY "Copy Blockchain from another Computer (SKILLED)" \ + COPY "Copy from another Computer (SKILLED)" \ REINDEX "Resync thru ${network}d (TAKES VERY VERY LONG)" \ BACKUP "Run Backup LND data first (optional)" ) - CHOICE=$(dialog --backtitle "RaspiBlitz - Repair Script" --clear --title "Who to repair blockchain?" --menu "test" 11 60 6 "${OPTIONS[@]}" 2>&1 >/dev/tty) + CHOICE=$(dialog --backtitle "RaspiBlitz - Repair Script" --clear --title "Repair Blockchain Data" --menu "Choose a repair/recovery option:" 11 60 6 "${OPTIONS[@]}" 2>&1 >/dev/tty) clear if [ "${CHOICE}" = "TORRENT" ]; then echo "Starting TORRENT ..." sudo sed -i "s/^state=.*/state=retorrent/g" /home/admin/raspiblitz.info /home/admin/50torrentHDD.sh - raspiblitz + /home/admin/00mainMenu.sh exit elif [ "${CHOICE}" = "COPY" ]; then echo "Starting COPY ..." sudo sed -i "s/^state=.*/state=recopy/g" /home/admin/raspiblitz.info /home/admin/50copyHDD.sh - raspiblitz + /home/admin/00mainMenu.sh exit elif [ "${CHOICE}" = "REINDEX" ]; then @@ -189,7 +189,7 @@ Maybe use BACKUP option first to secure your funds & channels. sudo /home/admin/config.scripts/lnd.rescue.sh backup echo "PRESS ENTER to return to menu." read key - raspiblitz + /home/admin/00mainMenu.sh exit else diff --git a/home.admin/config.scripts/lnd.rescue.sh b/home.admin/config.scripts/lnd.rescue.sh index f8ff7a4..2adc136 100755 --- a/home.admin/config.scripts/lnd.rescue.sh +++ b/home.admin/config.scripts/lnd.rescue.sh @@ -34,6 +34,7 @@ if [ ${mode} = "backup" ]; then mv /home/admin/lnd-rescue.tar.gz /home/admin/lnd-rescue-${md5checksum}.tar.gz # offer SCP for download + echo echo "****************************" echo "* DOWNLOAD THE BACKUP FILE *" echo "****************************"