e32d22c0b9
- Implemented fancontrol service to monitor S6000 fans and adjust fan speed w.r.t temperature. - fancontrol.service starts the fancontrol script at startup. - This script takes the average temperature by reading three sensors and configure FANS to appropritate RPM against the temperature. - When the temperature is adjusted script will log in syslog for future reference. - Also, script checks for faulty fans and report the status in syslog.
14 lines
226 B
Desktop File
14 lines
226 B
Desktop File
[Unit]
|
|
Description=Dell S6000 fan speed regulator
|
|
After=platform-modules-s6000.service
|
|
Before=pmon.service
|
|
|
|
[Service]
|
|
ExecStart=-/usr/local/bin/fancontrol.sh
|
|
Restart=always
|
|
RestartSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|