You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Drew Short 499df01262 Starting on some error checking inside the update script. Don't want it to blow up if it can't reach out. 9 years ago
..
README Added odroid xu4 specific system files 9 years ago
update-fans.service Added odroid xu4 specific system files 9 years ago
update-fans.sh Added odroid xu4 specific system files 9 years ago
update-fans.timer Added odroid xu4 specific system files 9 years ago

README

Included are the the following files to more gracefully handle temperatures on the odroid xu4 running with systemd.

update-fans.sh is the script that actually updates the system files for the fan. Namely the fan speed and temperature settings.
It gets installed into /usr/local/bin/

update-fans.service is the service that calls the script to update the fans
update-fans.timer is the systemd timer that updates the fan speeds 5 seconds after systemd starts.

These should be placed in /usr/lib/systemd/system or wherever your systemd services and timers are stored

Finally the timer should be activated with "systemctl enable update-fans.timer".
If you don't feel like restarting to change the fan settings immediately, you can run "systemctl start update-fans.service"