[-]
[+]
|
Changed |
nagios-plugins-cciss.changes
|
|
[-]
[+]
|
Changed |
nagios-plugins-cciss.spec
^
|
|
[-]
[+]
|
Changed |
check_cciss
^
|
@@ -55,6 +55,9 @@
#
# ChangeLog:
#
+# 04/06/12 (1.13)
+# - Added support for kernels greater 3.x (prepend uname26)
+#
# 07/10/11 (1.12)
# - Added support for newer kernels with hpsa driver
#
@@ -109,7 +112,11 @@
HPPROC="/proc/driver/cciss/cciss"
COMPAQPROC="/proc/driver/cpqarray/ida"
HPSASYS="/sys/bus/pci/drivers/hpsa"
-hpacucli="/usr/sbin/hpacucli"
+if [ ! -x /usr/bin/uname26 ] ; then
+ hpacucli="/usr/sbin/hpacucli"
+else
+ hpacucli="/usr/bin/uname26 /usr/sbin/hpacucli"
+fi
. $PROGPATH/utils.sh
|