From 50dd2852bd365d86e98cb64ac20ca55cc64e45a3 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Fri, 20 Sep 2024 19:56:37 +0200 Subject: [PATCH] disks: update 3 Signed-off-by: AuxXxilium --- disks/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disks/install.sh b/disks/install.sh index fb7faf3..1cd6515 100755 --- a/disks/install.sh +++ b/disks/install.sh @@ -339,7 +339,7 @@ function nondtModel() { [ $((${USBMAXIDX} - ${USBMINIDX})) -lt 6 ] && USBMAXIDX=$((${USBMINIDX} + 6)) fi if [ "${2}" = "external" ]; then - printf "usb external maxdisks=%d\n" "${MAXDISKS}" + MAXDISKS=$((${MAXDISKS} - ${USBMAXIDX})) else [ $((${USBMAXIDX} + 1)) -gt ${MAXDISKS} ] && MAXDISKS=$((${USBMAXIDX} + 1)) fi