Fix for r720
This commit is contained in:
parent
b78154d176
commit
885e899222
@ -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 ];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user