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:
parent
82d5386ed5
commit
13e43b08d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user