mirror of
https://github.com/AuxXxilium/arc-v.git
synced 2024-11-23 23:11:05 +07:00
storage: fix
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
55b7ce7f27
commit
f8d602ec3d
@ -138,9 +138,9 @@ function getportmap() {
|
||||
if [ ${SATACONTROLLER} -gt 0 ]; then
|
||||
SATAREMAP="$(awk '{print $1}' "${TMP_PATH}/remap" | sed 's/.$//')"
|
||||
# Show recommended Option to user
|
||||
if [[ -n "${SATAREMAP}" && ${SASCONTROLLER} -eq 0 && ${SCSICONTROLLER} -eq 0 ]]; then
|
||||
if [[ -n "${SATAREMAP}" && ( ${SASCONTROLLER} -eq 0 && ${SCSICONTROLLER} -eq 0 )]]; then
|
||||
REMAP3="*"
|
||||
elif [[ -n "${SATAREMAP}" && ${SASCONTROLLER} -gt 0 || ${SCSICONTROLLER} -gt 0 && "${MACHINE}" = "NATIVE" ]]; then
|
||||
elif [[ -n "${SATAREMAP}" && ( ${SASCONTROLLER} -gt 0 || ${SCSICONTROLLER} -gt 0 ) && "${MACHINE}" = "NATIVE" ]]; then
|
||||
REMAP2="*"
|
||||
else
|
||||
REMAP1="*"
|
||||
|
Loading…
Reference in New Issue
Block a user