Skip to content

Commit

Permalink
Merge pull request #7 from Klintrup:FreeBSD-10-support
Browse files Browse the repository at this point in the history
- Updated to work with FreeBSD 10.1
- Thanks to Marc Peters for reporting this
  • Loading branch information
Klintrup authored Dec 3, 2023
2 parents 6df2cf2 + 54d205b commit 373fbd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.6.0] - 2014-11-18
### Changed
- HP Finally changed the SCSI output of their latest smart array controllers, updated script to be compatible with both versions
- Thanks to Paul Yates for reporting this and providing sample output
- Thanks to Paul Yates for reporting this and providing sample output
## [1.7.0] - 2014-11-19
### Added
- Added support for FreeBSD 10.1 and later
- Thanks to Marc Peters for reporting this
2 changes: 1 addition & 1 deletion check_smartarray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ do
ERRORSTRING="${ERRORSTRING} / ${DEVICENAME}: unknown state"
if ! [ "${ERR}" = 2 ];then ERR=3;fi
else
case $(echo ${DEVICESTRING}|tr [:upper:] [:lower:]|sed -e s/'\>.*'//|sed -Ee 's/.*(rea|int|exp|rec|fai|ok).*/\1/') in
case $(echo ${DEVICESTRING}|tr [:upper:] [:lower:]|sed -Ee 's/.*(rea|int|exp|rec|fai|ok).*/\1/') in
int)
ERR=2
ERRORSTRING="${ERRORSTRING} / ${DEVICENAME}: DEGRADED"
Expand Down

0 comments on commit 373fbd2

Please sign in to comment.