From 885e8992224a5bc5154b3c9f0e5fd584d0fb790b Mon Sep 17 00:00:00 2001 From: Alec Lombardo Date: Thu, 4 Feb 2021 12:28:40 -0500 Subject: [PATCH] Fix for r720 --- check-temp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-temp.sh b/check-temp.sh index bdbb7d2..6a5babf 100755 --- a/check-temp.sh +++ b/check-temp.sh @@ -5,7 +5,7 @@ FANSPEED=`cat /fanspeed.txt` MAXTEMP=32 -TEMP=$(ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW sdr type temperature |grep Ambient |grep degrees |grep -Po '\d{2}' | tail -1) +TEMP=$(ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW sdr type temperature |grep Inlet |grep degrees |grep -Po '\d{2}' | tail -1) echo "Current Temp is $TEMP C" if [ $TEMP -gt $MAXTEMP ];