Add temperature-aware MD1200 fan control
das_fanctl.sh reads drive temps via smartctl (falling back to the EMM backplane sensors), interpolates a fan percentage, and re-sends _shutup on a 5s keepalive so the shelf does not revert to full speed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
10
get_das_temp.sh
Executable file
10
get_das_temp.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#/bin/bash
|
||||
|
||||
#Zeb H.
|
||||
#Dell MD1200 Temperature Reading Script.
|
||||
|
||||
#set TTY Flags
|
||||
stty -F /dev/ttyS1 38400 raw -echoe -echok -echoctl -echoke
|
||||
|
||||
#Print temperature on screen
|
||||
echo -e -n '_temp_rd\r' > /dev/ttyS1
|
||||
Reference in New Issue
Block a user