diff options
author | Jan Wagner <waja@cyconet.org> | 2014-08-20 18:32:09 (GMT) |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2014-08-20 18:37:24 (GMT) |
commit | 3a668c0f87f3ad31f28997ed43b374edf78f6227 (patch) | |
tree | 6578424f919711c80eef39dedc2ec23d9a07f70d /plugins-scripts/check_sensors.sh | |
parent | d4b6d09f104f73c462e0e0c8a297ba9fc7c5a53e (diff) | |
download | monitoring-plugins-3a668c0f87f3ad31f28997ed43b374edf78f6227.tar.gz |
Setting PATH at first
Diffstat (limited to 'plugins-scripts/check_sensors.sh')
-rwxr-xr-x | plugins-scripts/check_sensors.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins-scripts/check_sensors.sh b/plugins-scripts/check_sensors.sh index 05c64c4..f742830 100755 --- a/plugins-scripts/check_sensors.sh +++ b/plugins-scripts/check_sensors.sh | |||
@@ -1,11 +1,10 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | PATH="@TRUSTED_PATH@" | ||
4 | export PATH | ||
3 | PROGNAME=`basename $0` | 5 | PROGNAME=`basename $0` |
4 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` | 6 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` |
5 | REVISION="@NP_VERSION@" | 7 | REVISION="@NP_VERSION@" |
6 | PATH="@TRUSTED_PATH@" | ||
7 | |||
8 | export PATH | ||
9 | 8 | ||
10 | . $PROGPATH/utils.sh | 9 | . $PROGPATH/utils.sh |
11 | 10 | ||