Merged in elyrith/check_temp (pull request #5)
This commit is contained in:
commit
c594f1768f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user