From 6df8362ab071ecb16c4d293426744dfe8333ad40 Mon Sep 17 00:00:00 2001 From: Elyrith Date: Sat, 1 Dec 2012 21:02:36 -0500 Subject: [PATCH] Put the old sensor parsing back, but commented. It may help somebody. --- check_temp.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/check_temp.sh b/check_temp.sh index e9c6b0f..542565e 100755 --- a/check_temp.sh +++ b/check_temp.sh @@ -191,6 +191,8 @@ fi #Get the temperature TEMP=`${SENSORPROG} | grep "$sensor" | cut -d+ -f2 | cut -c1-2 ` +#Old way - Get the temperature +#TEMP=`${SENSORPROG} | grep "$sensor" | awk '{print $3}' | cut -c2-3` # Check if the thresholds have been set correctly