mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 13:40:51 +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))
|
||||
fi
|
||||
if [ "${2}" = "external" ]; then
|
||||
printf "usb external maxdisks=%d\n" "${MAXDISKS}"
|
||||
MAXDISKS=$((${MAXDISKS} - ${USBMAXIDX}))
|
||||
else
|
||||
[ $((${USBMAXIDX} + 1)) -gt ${MAXDISKS} ] && MAXDISKS=$((${USBMAXIDX} + 1))
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user