1 #! /bin/sh
3 STATE_OK=0
4 STATE_WARNING=1
5 STATE_CRITICAL=2
6 STATE_UNKNOWN=3
7 STATE_DEPENDENT=4
9 if test -x /usr/bin/printf; then
10 ECHO=/usr/bin/printf
11 else
12 ECHO=echo
13 fi
15 print_revision() {
16 echo "$1 v$2 (@PACKAGE@ @VERSION@)"
17 $ECHO "@WARRANTY@" | sed -e 's/\n/ /g'
18 }
20 support() {
21 $ECHO "@SUPPORT@" | sed -e 's/\n/ /g'
22 }