Typo and changed 'sensors' to 'lm-sensors' in message if it's not installed.
This commit is contained in:
parent
bf12a45ab9
commit
664cac6965
@ -75,9 +75,9 @@ Options:
|
|||||||
Set what to monitor, for example CPU or MB (or M/B). Check sensors for the
|
Set what to monitor, for example CPU or MB (or M/B). Check sensors for the
|
||||||
correct word. Default is CPU.
|
correct word. Default is CPU.
|
||||||
-w INTEGER
|
-w INTEGER
|
||||||
Exit with WARNING status if above INTEGER degres
|
Exit with WARNING status if above INTEGER degrees
|
||||||
-c INTEGER
|
-c INTEGER
|
||||||
Exit with CRITICAL status if above INTEGER degres
|
Exit with CRITICAL status if above INTEGER degrees
|
||||||
EOT
|
EOT
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ sensor=CPU
|
|||||||
|
|
||||||
# See if we have sensors program installed and can execute it
|
# See if we have sensors program installed and can execute it
|
||||||
if [[ ! -x "$SENSORPROG" ]]; then
|
if [[ ! -x "$SENSORPROG" ]]; then
|
||||||
printf "\nIt appears you don't have sensors installed in $SENSORPROG\n"
|
printf "\nIt appears you don't have lm-sensors installed in $SENSORPROG\n"
|
||||||
exit $STATE_UNKOWN
|
exit $STATE_UNKOWN
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user