mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-27 06:54:00 +00:00
Small drives will not attempt QuickSync
This commit is contained in:
parent
f30e168f58
commit
1c8b561663
|
@ -161,7 +161,7 @@ if [ ! -f /mnt/hdd/mynode/settings/.setquicksyncdefault ]; then
|
|||
fi
|
||||
# Default small drives to no QuickSync
|
||||
DRIVE_SIZE=$(df /mnt/hdd | grep /dev | awk '{print $2}')
|
||||
if (( ${DRIVE_SIZE} <= 800000000 ));
|
||||
if (( ${DRIVE_SIZE} <= 800000000 )); then
|
||||
touch /mnt/hdd/mynode/settings/quicksync_disabled
|
||||
fi
|
||||
touch /mnt/hdd/mynode/settings/.setquicksyncdefault
|
||||
|
|
Loading…
Reference in New Issue
Block a user