IS_HARDWARERAIDTOOL: match more RAID PCI cards
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing

This commit is contained in:
Jérémy Lecour 2021-07-07 14:50:17 +02:00 committed by Jérémy Lecour
parent 2e5dca8103
commit 773a686a4d
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
### Fixed
* IS_EVOLIX_USER: Match on if account name begin by evolix, don't match account name testevolix for example
* IS_HARDWARERAIDTOOL: match more RAID PCI cards
## [20.12] 2020-04-28

View file

@ -853,7 +853,7 @@ check_broadcomfirmware() {
check_hardwareraidtool() {
LSPCI_BIN=$(command -v lspci)
if [ -x "${LSPCI_BIN}" ]; then
if ${LSPCI_BIN} | grep -q 'MegaRAID SAS'; then
if ${LSPCI_BIN} | grep -q 'MegaRAID'; then
# shellcheck disable=SC2015
is_installed megacli && { is_installed megaclisas-status || is_installed megaraidsas-status; } \
|| failed "IS_HARDWARERAIDTOOL" "Mega tools not found"