Merge pull request #2 from Elyrith/0.9

Fixed some typos, including one that created a bug
This commit is contained in:
Jack-Benny Persson 2013-10-06 00:51:56 -07:00
commit dc34595ff0
3 changed files with 8 additions and 4 deletions

4
README Executable file → Normal file
View File

@ -28,6 +28,10 @@ warning in the manpages (man sensors-detect) that there are (some rare)
hardware sensors that may lock up or even be permanently damaged, so be aware hardware sensors that may lock up or even be permanently damaged, so be aware
of that. of that.
**********
MAKE SURE YOU TYPE "YES" TO THE LAST OPTION: "Do you want to add these lines automatically to /etc/modules? (yes/NO)"
**********
3) Restart module-init-tools service (On Debian/Ubuntu) 3) Restart module-init-tools service (On Debian/Ubuntu)
a) /etc/init.d/module-init-tools restart a) /etc/init.d/module-init-tools restart
or or

0
THANKS Executable file → Normal file
View File

View File

@ -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,8 +93,8 @@ 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_UNKNOWN
fi fi
# Parse command line options # Parse command line options