#685 improved RESET-HDD

This commit is contained in:
Christian Rotzoll 2019-07-30 02:33:02 +02:00
parent a87dbbc59c
commit a6e77ea265

View file

@ -64,7 +64,7 @@ else
read key
echo "stopping services ... (please wait)"
echo "- swap"
sudo dphys-swapfile swapoff
@ -82,15 +82,18 @@ else
echo "selective delete ... (please wait)"
# bitcoin mainnet (clean working files)
sudo rm -f /mnt/hdd/bitcoin/*.*
sudo rm -f /mnt/hdd/bitcoin/* 2>/dev/null
sudo rm -f /mnt/hdd/bitcoin/.*
sudo rm -f -r /mnt/hdd/bitcoin/database
# bitcoin testnet (clean working files)
sudo rm -f /mnt/hdd/bitcoin/testnet3/*.*
sudo rm -f /mnt/hdd/bitcoin/testnet3/* 2>/dev/null
sudo rm -f /mnt/hdd/bitcoin/testnet3/.*
sudo rm -f -r /mnt/hdd/bitcoin/testnet/database
# litecoin mainnet (clean working files)
sudo rm -f /mnt/hdd/litecoin/*.*
sudo rm -f /mnt/hdd/litecoin/* 2>/dev/null
sudo rm -f /mnt/hdd/litecoin/.*
sudo rm -f -r /mnt/hdd/litecoin/database
# lnd (delet all)