Fix for r720

This commit is contained in:
Alec Lombardo 2021-02-04 12:28:40 -05:00 committed by GitHub
parent b78154d176
commit 885e899222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ FANSPEED=`cat /fanspeed.txt`
MAXTEMP=32 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" echo "Current Temp is $TEMP C"
if [ $TEMP -gt $MAXTEMP ]; if [ $TEMP -gt $MAXTEMP ];