IS_HARDWARERAIDTOOL: match more RAID PCI cards

This commit is contained in:
Jérémy Lecour 2021-07-07 14:50:17 +02:00 committed by Jérémy Lecour
parent 5ec4cd6fff
commit 96ba05975d
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

@ -854,7 +854,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"