diff --git a/README b/README old mode 100644 new mode 100755 diff --git a/THANKS b/THANKS old mode 100644 new mode 100755 diff --git a/check_temp.sh b/check_temp.sh index 542565e..cd0772f 100755 --- a/check_temp.sh +++ b/check_temp.sh @@ -190,9 +190,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` +#TEMP=`${SENSORPROG} | grep "$sensor" | awk '{print $3}' | cut -c2-3 | head -n1` # Check if the thresholds have been set correctly