mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 15:10:38 +01:00
remove info dialog from raspiblitz migration
This commit is contained in:
parent
e2d80a4a57
commit
d5971c0006
1 changed files with 3 additions and 20 deletions
|
@ -43,25 +43,9 @@ migrationVersion="$2"
|
||||||
|
|
||||||
if [ "${migrationOS}" == "raspiblitz" ]; then
|
if [ "${migrationOS}" == "raspiblitz" ]; then
|
||||||
|
|
||||||
# infodialog
|
|
||||||
whiptail --title " IMPORT MIGRATION FILE " --yes-button "Upload File" --no-button "Shutdown" --yesno "RaspiBlitz found data from UMBREL
|
|
||||||
|
|
||||||
You can migrate your blockchain & LND data (funds & channels) over to RaspiBlitz.
|
|
||||||
|
|
||||||
Please make sure to have your UMBREL seed words & static channel backup file (just in case). Also any data of additional apps you had installed on UMBREL might get lost.
|
|
||||||
|
|
||||||
Do you want to start migration to RaspiBlitz now?
|
|
||||||
" 16 58
|
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
# write migration info
|
# write migration info
|
||||||
echo "migrationOS='${migrationOS}'" >> $SETUPFILE
|
echo "migrationOS='${migrationOS}'" >> $SETUPFILE
|
||||||
echo "migrationVersion='${migrationVersion}'" >> $SETUPFILE
|
echo "migrationVersion='${migrationVersion}'" >> $SETUPFILE
|
||||||
else
|
|
||||||
# user cancel - request shutdown
|
|
||||||
echo "shutdown=1" >> $SETUPFILE
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# get defaultZipPath, localIP, etc
|
# get defaultZipPath, localIP, etc
|
||||||
source <(sudo /home/admin/config.scripts/blitz.migration.sh status)
|
source <(sudo /home/admin/config.scripts/blitz.migration.sh status)
|
||||||
|
@ -111,7 +95,6 @@ Do you want to start migration to RaspiBlitz now?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# further checks and unpacking will be done when migration is processed (not part of dialog)
|
# further checks and unpacking will be done when migration is processed (not part of dialog)
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "OK: Migration data was imported - will now try to recover/restore RaspiBlitz with this data"
|
echo "OK: Migration data was imported - will now try to recover/restore RaspiBlitz with this data"
|
||||||
echo "PRESS ENTER TO CONTINUE"
|
echo "PRESS ENTER TO CONTINUE"
|
||||||
|
|
Loading…
Add table
Reference in a new issue