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>
11 lines
204 B
Bash
Executable File
11 lines
204 B
Bash
Executable File
#/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
|