ajout vitesse et temperature comme variable ENV
This commit is contained in:
@@ -14,8 +14,8 @@ trap 'gracefull_exit' SIGQUIT SIGKILL SIGTERM
|
||||
# readonly DELL_FRESH_AIR_COMPLIANCE=45
|
||||
|
||||
# Define the temperature thresholds and corresponding fan speeds
|
||||
TEMP_THRESHOLDS=(35 45 55 70)
|
||||
FAN_SPEEDS=(13 20 40 60 100) # Correspond aux seuils + vitesse max
|
||||
TEMP_THRESHOLDS=($CPU_TEMPERATURE_1 $CPU_TEMPERATURE_2 $CPU_TEMPERATURE_3 $CPU_TEMPERATURE_4)
|
||||
FAN_SPEEDS=($FAN_SPEED_1 $FAN_SPEED_2 $FAN_SPEED_3 $FAN_SPEED_4 100) # Correspond aux seuils + vitesse max
|
||||
|
||||
# Check if the iDRAC host is set to 'local' or not then set the IDRAC_LOGIN_STRING accordingly
|
||||
if [[ $IDRAC_HOST == "local" ]]
|
||||
|
||||
Reference in New Issue
Block a user