Allow manual override of max temp via env var
This commit is contained in:
parent
885e899222
commit
f1002bc405
@ -3,7 +3,7 @@ IPMIUSER=`cat /user.txt`
|
||||
IPMIPW=`cat /pw.txt`
|
||||
FANSPEED=`cat /fanspeed.txt`
|
||||
|
||||
MAXTEMP=32
|
||||
MAXTEMP=${MAXTEMP:-32}
|
||||
|
||||
TEMP=$(ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW sdr type temperature |grep Inlet |grep degrees |grep -Po '\d{2}' | tail -1)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user