1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-25 03:43:46 +01:00

Fixing utils.sh

This commit is contained in:
Richard Allen 2012-02-22 13:22:53 +00:00
parent 82d5386ed5
commit 13e43b08d3

View File

@ -14,6 +14,12 @@ PROGNAME=`basename $0`
PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
REVISION=`echo '$Revision: 1.12 $' | sed -e 's/[^0-9.]//g'`
if [ -f $PROGPATH/utils.sh ]; then
. $PROGPATH/utils.sh
else
. /usr/lib64/nagios/plugins/utils.sh
fi
MULTIPATH=/sbin/multipath
SUDO=/usr/bin/sudo
LSMOD=/sbin/lsmod