diff options
Diffstat (limited to 'plugins-scripts')
-rw-r--r-- | plugins-scripts/subst.in | 2 | ||||
-rw-r--r-- | plugins-scripts/utils.sh.in | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins-scripts/subst.in b/plugins-scripts/subst.in index 9140157..5b70fbe 100644 --- a/plugins-scripts/subst.in +++ b/plugins-scripts/subst.in | |||
@@ -29,7 +29,7 @@ function led() { | |||
29 | return "\"" led3 "/libexec\" " ; | 29 | return "\"" led3 "/libexec\" " ; |
30 | 30 | ||
31 | } | 31 | } |
32 | return led1; | 32 | return "\"" led1 "\"" ; |
33 | } | 33 | } |
34 | 34 | ||
35 | BEGIN { | 35 | BEGIN { |
diff --git a/plugins-scripts/utils.sh.in b/plugins-scripts/utils.sh.in index 1e835e6..51727b7 100644 --- a/plugins-scripts/utils.sh.in +++ b/plugins-scripts/utils.sh.in | |||
@@ -1,10 +1,10 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | 2 | ||
3 | STATE_DEPENDENT=-2 | ||
4 | STATE_UNKNOWN=-1 | ||
5 | STATE_OK=0 | 3 | STATE_OK=0 |
6 | STATE_WARNING=1 | 4 | STATE_WARNING=1 |
7 | STATE_CRITICAL=2 | 5 | STATE_CRITICAL=2 |
6 | STATE_UNKNOWN=3 | ||
7 | STATE_DEPENDENT=4 | ||
8 | 8 | ||
9 | if test -x /usr/bin/printf; then | 9 | if test -x /usr/bin/printf; then |
10 | ECHO=/usr/bin/printf | 10 | ECHO=/usr/bin/printf |
@@ -19,4 +19,5 @@ print_revision() { | |||
19 | 19 | ||
20 | support() { | 20 | support() { |
21 | $ECHO "@SUPPORT@" | /bin/sed -e 's/\n/ /g' | 21 | $ECHO "@SUPPORT@" | /bin/sed -e 's/\n/ /g' |
22 | } \ No newline at end of file | 22 | } |
23 | |||