mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
#1081 basic copy source modus
This commit is contained in:
parent
2239f58ede
commit
170b57283a
@ -46,11 +46,26 @@ RaspiBlitz image to your SD card.
|
|||||||
" 12 40
|
" 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
|
# Basic Options
|
||||||
OPTIONS=(HARDWARE "Run Hardwaretest" \
|
OPTIONS=(HARDWARE "Run Hardwaretest" \
|
||||||
SOFTWARE "Run Softwaretest (DebugReport)" \
|
SOFTWARE "Run Softwaretest (DebugReport)" \
|
||||||
BACKUP-LND "Backup your LND data (Rescue-File)" \
|
BACKUP-LND "Backup your LND data (Rescue-File)" \
|
||||||
MIGRATION "Migrate Blitz Data to new Hardware" \
|
MIGRATION "Migrate Blitz Data to new Hardware" \
|
||||||
|
COPY-SOURCE "Copy Blockchain Source Modus" \
|
||||||
RESET-CHAIN "Delete Blockchain & Re-Download" \
|
RESET-CHAIN "Delete Blockchain & Re-Download" \
|
||||||
RESET-LND "Delete LND & start new node/wallet" \
|
RESET-LND "Delete LND & start new node/wallet" \
|
||||||
RESET-HDD "Delete HDD Data but keep Blockchain" \
|
RESET-HDD "Delete HDD Data but keep Blockchain" \
|
||||||
@ -130,4 +145,7 @@ case $CHOICE in
|
|||||||
sudo shutdown now
|
sudo shutdown now
|
||||||
exit 1;
|
exit 1;
|
||||||
;;
|
;;
|
||||||
|
COPY-SOURCE)
|
||||||
|
copyHost
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user