#1081 basic copy source modus

This commit is contained in:
rootzoll 2020-03-29 21:56:25 +02:00
parent 2239f58ede
commit 170b57283a

View File

@ -46,11 +46,26 @@ RaspiBlitz image to your SD card.
" 12 40
}
copyHost()
{
clear
sudo systemctl stop lnd
sudo systemctl stop ${network}d
cd /mnt/hdd/${network}
echo ""
echo "*** Copy Blockchain Source Modus ***"
echo "- Your RaspiBlitz has now stopped LND and ${network}"
echo "- Run now the script given by the other RaspiBlitz in Terminal"
echo "- When you are done - Restart RaspiBlitz: sudo shutdown -r now"
exit 1
}
# Basic Options
OPTIONS=(HARDWARE "Run Hardwaretest" \
SOFTWARE "Run Softwaretest (DebugReport)" \
BACKUP-LND "Backup your LND data (Rescue-File)" \
MIGRATION "Migrate Blitz Data to new Hardware" \
COPY-SOURCE "Copy Blockchain Source Modus" \
RESET-CHAIN "Delete Blockchain & Re-Download" \
RESET-LND "Delete LND & start new node/wallet" \
RESET-HDD "Delete HDD Data but keep Blockchain" \
@ -130,4 +145,7 @@ case $CHOICE in
sudo shutdown now
exit 1;
;;
COPY-SOURCE)
copyHost
;;
esac