mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Removing workaroud, do not works with satadom
This commit is contained in:
parent
778e91e3a4
commit
d2522348f3
@ -63,13 +63,16 @@ while read f; do
|
|||||||
done < <(readModelArray "${MODEL}" "builds.${BUILD}.patch")
|
done < <(readModelArray "${MODEL}" "builds.${BUILD}.patch")
|
||||||
|
|
||||||
# Temporary workaround
|
# Temporary workaround
|
||||||
DT="`readModelKey "${MODEL}" "dt"`"
|
# LOADER_DISK="`blkid | grep 'LABEL="ARPL3"' | cut -d3 -f1`"
|
||||||
if [ "${DT}" != "true" ]; then
|
# BUS=`udevadm info --query property --name ${LOADER_DISK} | grep ID_BUS | cut -d= -f2`
|
||||||
NUMPORTS=$((`ls /sys/class/scsi_host | wc -w`-1))
|
# DT="`readModelKey "${MODEL}" "dt"`"
|
||||||
SYNOINFO["maxdisks"]=${NUMPORTS}
|
# if [ "${DT}" != "true" ]; then
|
||||||
INTPORTCFG="0x`printf "%x" "$((2**${NUMPORTS}-1))"`"
|
# NUMPORTS=$((`ls /sys/class/scsi_host | wc -w`-1))
|
||||||
SYNOINFO["internalportcfg"]="${INTPORTCFG}"
|
# [ "${BUS}" = "ata" ] && NUMPORTS=$((${NUMPORTS}-1))
|
||||||
fi
|
# SYNOINFO["maxdisks"]=${NUMPORTS}
|
||||||
|
# INTPORTCFG="0x`printf "%x" "$((2**${NUMPORTS}-1))"`"
|
||||||
|
# SYNOINFO["internalportcfg"]="${INTPORTCFG}"
|
||||||
|
# fi
|
||||||
|
|
||||||
# Patch /etc/synoinfo.conf
|
# Patch /etc/synoinfo.conf
|
||||||
echo -n "."
|
echo -n "."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user