mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
disks: update 3
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
0c57a6456d
commit
50dd2852bd
@ -339,7 +339,7 @@ function nondtModel() {
|
|||||||
[ $((${USBMAXIDX} - ${USBMINIDX})) -lt 6 ] && USBMAXIDX=$((${USBMINIDX} + 6))
|
[ $((${USBMAXIDX} - ${USBMINIDX})) -lt 6 ] && USBMAXIDX=$((${USBMINIDX} + 6))
|
||||||
fi
|
fi
|
||||||
if [ "${2}" = "external" ]; then
|
if [ "${2}" = "external" ]; then
|
||||||
printf "usb external maxdisks=%d\n" "${MAXDISKS}"
|
MAXDISKS=$((${MAXDISKS} - ${USBMAXIDX}))
|
||||||
else
|
else
|
||||||
[ $((${USBMAXIDX} + 1)) -gt ${MAXDISKS} ] && MAXDISKS=$((${USBMAXIDX} + 1))
|
[ $((${USBMAXIDX} + 1)) -gt ${MAXDISKS} ] && MAXDISKS=$((${USBMAXIDX} + 1))
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user