change delete logic

This commit is contained in:
Christian Rotzoll 2019-07-01 01:33:13 +02:00
parent 1e72371b2b
commit e25c468beb

View File

@ -59,9 +59,9 @@ fi
echo "*** Activating Blockain Sync ***"
sudo mkdir /mnt/hdd/${network} 2>/dev/null
sudo /home/admin/XXcleanHDD.sh -blockchain -force
sudo mkdir /mnt/hdd/${network}/blocks 2>/dev/null
sudo mkdir /mnt/hdd/${network}/chainstate 2>/dev/null
sudo /home/admin/XXcleanHDD.sh -blockchain -force
# set so that 10raspiblitz.sh has a flag to see that resync is running
sudo touch /mnt/hdd/${network}/blocks/.selfsync