forked from evolix/evocheck
IS_HARDWARERAIDTOOL: match more RAID PCI cards
This commit is contained in:
parent
5ec4cd6fff
commit
96ba05975d
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue