Browse Source

small setup fixes

master
Christian Rotzoll 6 years ago
parent
commit
8ed6cec64b
  1. 4
      home.admin/70initLND.sh
  2. 6
      home.admin/95finalSetup.sh

4
home.admin/70initLND.sh

@ -203,13 +203,13 @@ if [ ${walletExists} -eq 0 ]; then
OPTIONS=(LNDRESCUE "LND tar.gz-Backupfile (BEST)" \
SEED+SCB "Seed & channel.backup file (OK)" \
ONLYSEED "Only Seed Word List (FALLBACK)")
CHOICE=$(dialog --backtitle "RaspiBlitz" --clear --title "RECOVER LND DATA & WALLET" --menu "What Recover Data do you have=" 11 60 6 "${OPTIONS[@]}" 2>&1 >/dev/tty)
CHOICE=$(dialog --backtitle "RaspiBlitz" --clear --title "RECOVER LND DATA & WALLET" --menu "Data you have to recover from?" 11 60 6 "${OPTIONS[@]}" 2>&1 >/dev/tty)
echo "choice($CHOICE)"
if [ "${CHOICE}" == "ONLYSEED" ]; then
echo "TODO: ONLYSEED"
exit 1
elif [ "${CHOICE}" == "SEED+SCB" ]; then
echo "TODO: SEED+SCB"
exit 1

6
home.admin/95finalSetup.sh

@ -1,12 +1,12 @@
#!/bin/bash
echo ""
# set raspiblitz config file
configFile="/mnt/hdd/raspiblitz.conf"
# load setup config
source /home/admin/raspiblitz.info
# in case the config already exists
source /mnt/hdd/raspiblitz.conf 2>/dev/null
# load version
source /home/admin/_version.info

Loading…
Cancel
Save