From 1c8b5616637f3452cf426d322397518d8f11714e Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Tue, 21 Jan 2020 22:58:28 -0600 Subject: [PATCH] Small drives will not attempt QuickSync --- rootfs/standard/usr/bin/mynode_startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/standard/usr/bin/mynode_startup.sh b/rootfs/standard/usr/bin/mynode_startup.sh index 02c2c978..ad8f10b6 100755 --- a/rootfs/standard/usr/bin/mynode_startup.sh +++ b/rootfs/standard/usr/bin/mynode_startup.sh @@ -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