Imported Upstream version 1.4.5
This commit is contained in:
parent
62d1e7d5fe
commit
6a280f6f24
412 changed files with 168642 additions and 0 deletions
23
plugins-scripts/utils.sh.in
Normal file
23
plugins-scripts/utils.sh.in
Normal file
|
@ -0,0 +1,23 @@
|
|||
#! /bin/sh
|
||||
|
||||
STATE_OK=0
|
||||
STATE_WARNING=1
|
||||
STATE_CRITICAL=2
|
||||
STATE_UNKNOWN=3
|
||||
STATE_DEPENDENT=4
|
||||
|
||||
if test -x /usr/bin/printf; then
|
||||
ECHO=/usr/bin/printf
|
||||
else
|
||||
ECHO=echo
|
||||
fi
|
||||
|
||||
print_revision() {
|
||||
echo "$1 (@PACKAGE@ @VERSION@) $2"
|
||||
$ECHO "@WARRANTY@" | sed -e 's/\n/ /g'
|
||||
}
|
||||
|
||||
support() {
|
||||
$ECHO "@SUPPORT@" | sed -e 's/\n/ /g'
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue