mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 06:48:00 +01:00
#675 fix typo all in one rsync command
This commit is contained in:
parent
8e917aa5c6
commit
8773f124fa
1 changed files with 3 additions and 6 deletions
|
@ -43,7 +43,7 @@ echo ""
|
||||||
echo "WARNING: The RaspiBlitz cannot run 2 HDDs without extra Power!"
|
echo "WARNING: The RaspiBlitz cannot run 2 HDDs without extra Power!"
|
||||||
echo ""
|
echo ""
|
||||||
echo "You can use a Y cable for the second HDD to inject extra power"
|
echo "You can use a Y cable for the second HDD to inject extra power"
|
||||||
echo "or add a USB Hub with extra power between Raspi and 2n HDD."
|
echo "or add a USB Hub with extra power between Raspi and 2nd HDD."
|
||||||
echo "If you see on LCD a error on connecting the 2nd HDD do a restart."
|
echo "If you see on LCD a error on connecting the 2nd HDD do a restart."
|
||||||
echo ""
|
echo ""
|
||||||
echo "You can use the HDD of another RaspiBlitz for this."
|
echo "You can use the HDD of another RaspiBlitz for this."
|
||||||
|
@ -73,7 +73,7 @@ while [ ${ready} -eq 0 ]
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "*** Mounting 2nd HDD ***"
|
echo "*** Mounting 2nd HDD ***"
|
||||||
sudo mkdir /mnt/genesis
|
sudo mkdir /mnt/genesis 2>/dev/null
|
||||||
echo "try ext4 on sdb1 .."
|
echo "try ext4 on sdb1 .."
|
||||||
sudo mount -t ext4 /dev/sdb1 /mnt/genesis
|
sudo mount -t ext4 /dev/sdb1 /mnt/genesis
|
||||||
sleep 2
|
sleep 2
|
||||||
|
@ -110,10 +110,7 @@ fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "*** Copy Blockchain ***"
|
echo "*** Copy Blockchain ***"
|
||||||
sudo rsync --append --info=progress2 -a /mnt/genesis/bitcoin/chainstate /mnt/hdd/bitcoin
|
sudo rsync --append --info=progress2 -a /mnt/genesis/bitcoin/blocks /mnt/genesis/bitcoin/chainstate /mnt/hdd/bitcoin
|
||||||
sudo rsync --append --info=progress2 -a /mnt/genesis/bitcoin/testnet3 /mnt/hdd/bitcoin
|
|
||||||
sudo rsync --append --info=progress2 -a /mnt/genesis/bitcoin/blocks /mnt/hdd/bitcoin
|
|
||||||
|
|
||||||
sudo umount -l /mnt/genesis
|
sudo umount -l /mnt/genesis
|
||||||
echo "OK - Copy done :)"
|
echo "OK - Copy done :)"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue