Merged in elyrith/check_temp (pull request #5)

This commit is contained in:
Jack-Benny Persson 2012-12-08 00:15:33 +01:00
commit c594f1768f
3 changed files with 3 additions and 1 deletions

0
README Normal file → Executable file
View File

0
THANKS Normal file → Executable file
View File

View File

@ -193,7 +193,9 @@ fi
#Get the temperature
TEMP=`${SENSORPROG} | grep "$sensor" | cut -d+ -f2 | cut -c1-2 `
TEMP=`${SENSORPROG} | grep "$sensor" | cut -d+ -f2 | cut -c1-2 | head -n1`
#Old way - Get the temperature
#TEMP=`${SENSORPROG} | grep "$sensor" | awk '{print $3}' | cut -c2-3 | head -n1`
# Check if the thresholds have been set correctly