Huge change to source a config file, with a dynamic definition of fan
curves for each individual fan. I have mine set to have the drives
nearest a fan be what determines its speed demand, along with adjacent
CPU, GPU, raid controlled card in my specific box.
Fixes github issues #1 (use `sensors --json`), #8 (allow each fan
speed to be controlled individually)
Migrate smart-intercept-spindown and smartctlnvme into this repo from
my ansible-initial-server-setup playbooks, so they can be published in
a self-contained repo. Ansible then distributes these files anyway
via including this repo.
This enables us to get rid of the spindown test code we duplicated
here, plus ensure we're actually distributing smartctlnvme
Sorry people, when I rearranged the logic in e29a05f for:
$desired_temp1 < $weighted_temp < $desired_temp2
I ORed instead of ANDed, but didn't test it until I just pushed out my
ansible config to that host right now, several months later!