Allow manual override of maximum temperature variable via environment variable

This commit is contained in:
tigerblue77 2022-04-12 14:10:00 +02:00
parent 7698b2da8f
commit fae07584da
4 changed files with 11 additions and 4 deletions

View file

@ -15,6 +15,7 @@ fi
echo $DECIMAL_FAN_SPEED >> /decimal_fan_speed.txt
echo $HEXADECIMAL_FAN_SPEED >> /hexadecimal_fan_speed.txt
echo $MAXIMUM_TEMPERATURE >> /maximum_inlet_temperature.txt
echo "Idrac/IPMI host: `cat /idrac_host.txt`"
if [[ $IDRAC_HOST != "local" ]]
@ -23,3 +24,4 @@ then
echo "Idrac/IPMI password: `cat /idrac_password.txt`"
fi
echo "Fan speed objective: `cat /decimal_fan_speed.txt`%"
echo "Maximum inlet temperature: `cat /maximum_inlet_temperature.txt`°C"