mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
change HDD min size
This commit is contained in:
parent
06ffcdbdbb
commit
96c9fd3f63
1 changed files with 2 additions and 2 deletions
|
@ -35,9 +35,9 @@ if [ ${existsHDD} -eq 1 ]; then
|
|||
echo "*** HDD Size Check ***"
|
||||
# bitcoin > 450 GB
|
||||
min1kblocks=450000000
|
||||
# litecoin > 190 GB
|
||||
# litecoin > 31 GB
|
||||
if [ "${network}" = "litecoin" ]; then
|
||||
min1kblocks=190000000
|
||||
min1kblocks=31000000
|
||||
fi
|
||||
num1Kblocks=$(df | grep "dev/${device}" | awk '$1=$1' | cut -d " " -f 2)
|
||||
echo "num1Kblocks(${num1Kblocks})"
|
||||
|
|
Loading…
Add table
Reference in a new issue