rename data fields

This commit is contained in:
rootzoll 2019-12-11 01:44:14 +01:00
parent 657ed40f8e
commit 84fc276055

View File

@ -119,8 +119,8 @@ if [ "$1" = "status" ]; then
echo "hddError='storage mount failed'"
else
# check for blockchain data on storage
hddChainBitcoin=$(ls /mnt/storage/bitcoin/blocks/blk00000.dat 2>/dev/null | grep -c '.dat')
hddChainLitecoin=$(ls /mnt/storage/litecoin/blocks/blk00000.dat 2>/dev/null | grep -c '.dat')
hddBlocksBitcoin=$(ls /mnt/storage/bitcoin/blocks/blk00000.dat 2>/dev/null | grep -c '.dat')
hddBlocksLitecoin=$(ls /mnt/storage/litecoin/blocks/blk00000.dat 2>/dev/null | grep -c '.dat')
sudo umount /mnt/storage
fi