@@ -1,53 +0,0 @@
---- check_cciss.orig
-+++ check_cciss
-@@ -4,7 +4,7 @@
- # ( With HP Array Configuration Utility CLI hpacucli-x.y.*.rpm )
- #
- # Written by Simone Rosa (info@simonerosa.it)
--# Extende by Carsten Schoene (cs@linux-administrator.com)
-+# Extended by Carsten Schoene (cs@linux-administrator.com)
- #
- # Description:
- #
-@@ -55,6 +55,9 @@
- #
- # ChangeLog:
- #
-+# 07/10/11 (1.12)
-+# - Added support for newer kernels with hpsa driver
-+#
- # 19/08/11 (1.11)
- # - Added support to disable chache check (-c)
- #
-@@ -105,6 +108,7 @@ VERBOSE="0"
- NO_CACHE="0"
- HPPROC="/proc/driver/cciss/cciss"
- COMPAQPROC="/proc/driver/cpqarray/ida"
-+HPSASYS="/sys/bus/pci/drivers/hpsa"
- hpacucli="/usr/sbin/hpacucli"
-
- . $PROGPATH/utils.sh
-@@ -172,8 +176,12 @@ if [ "$DEBUG" = "1" ]; then
- echo ${raid}
- fi
- if test ${status} -eq 1; then
-- raid=`cat $COMPAQPROC* 2>&1`
-- status=$?
-+ if [ -n "` ls -1A $COMPAQPROC* 2>/dev/null`" ] ; then
-+ raid=`cat $COMPAQPROC* 2>&1`
-+ status=$?
-+ elif [ -d "$HPSASYS" ] ; then
-+ status=0
-+ fi
- if [ "$DEBUG" = "1" ]; then
- echo ${raid}
- fi
---- nagios-plugins-cciss.spec.orig
-+++ nagios-plugins-cciss.spec
-@@ -1,5 +1,5 @@
- Name: nagios-plugins-cciss
--Version: 1.11
-+Version: 1.12
- Release: 1
- License: GPL
- Group: Applications/System
|