File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- set -e
4-
53[[ -z " ${ARC_PATH} " || ! -d " ${ARC_PATH} /include" ]] && ARC_PATH=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " 2> /dev/null && pwd) "
64
75. " ${ARC_PATH} /include/functions.sh"
@@ -247,7 +245,7 @@ if [ ! -f "${TMP_PATH}/.cmdllock" ]; then
247245 fi
248246
249247 CMDLINE[' modprobe.blacklist' ]=" ${MODBLACKLIST} "
250- if ! is_in_array " ${PLATFORM} " " ${MPT3PL[@]} " ; then
248+ if [ " ${DT} " = " true " ] && ! is_in_array " ${PLATFORM} " " ${MPT3PL[@]} " ; then
251249 if ! echo " ${CMDLINE['modprobe.blacklist']} " | grep -q " mpt3sas" ; then
252250 [ -n " ${CMDLINE['modprobe.blacklist']} " ] && CMDLINE[' modprobe.blacklist' ]+=" ,"
253251 CMDLINE[' modprobe.blacklist' ]+=" mpt3sas"
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- set -e
4-
53[[ -z " ${ARC_PATH} " || ! -d " ${ARC_PATH} /include" ]] && ARC_PATH=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " 2> /dev/null && pwd) "
64
75. " ${ARC_PATH} /include/functions.sh"
You can’t perform that action at this time.
0 commit comments