Fancontrol

Daemon that controls the fan based upon harddisk temperature.

As far as known this daemon is only usefull on dgs cuberevo
(only tested on Special Edition box). On the abcom ipbox 9000
the normal operating temperature of the harddisk with
timeshifting and fan on continuesly is already 50 degrees Celsius

**** CAUTION USE ON OWN RISK *******************************

As not all boxes/hdd/powersupply units are the same, I could
only test it on my own setup. Try it for a day and find out
how hot the box gets (the powersupply also gets some cooling
from the fan, but the temperature cannot be measured).

************************************************************

Installing:

ftp fancontrol into /var/bin 
chmod +x fancontrol 

ftp fancontrol.config into /var/etc

start fancontrol with
/var/bin/fancontrol

There is no need to turn off the fan in sbox application.

The configuration is self explanatory
read the fancontrol.config on how to configure it
the high and low temperature is in degrees celsius
so beware fahrenheit users. 

Most default values should be ok for most users.
But tuning them might be necessary, experiment
with the temperatures, just don't set high too high

hints:
don't set high and low to the same or close value
When temperature goes over high fan gets turned on
until temperature drops under low. So a close or 
equal value will keep the temperature steady, but
will also turn on and off the fan constantly.

Config file can be changed when the daemon is running
no need to restart the daemon at changed values.

Valid values are mentioned in the configfile

If failsafe=1, in case of an error the daemon
will turn the fan on to be safe.

Don't set timer to 0 or below 0 (or too low, as this
will consume processing power), 150 seconds should
be ok for most users. 

Error reporting:
================================
- post errors/reports on www.denktenk.com

================================
Release 0.1
Known issues: 
- no checking for sane config values.
- daemon has to be started thru telnet
  this should be fixed by image builders/script
Features:
- fully configurable when running in /etc/fancontrol.config
- logging in /tmp/fancontrol.log
Requirements:
- hddtemp in /var/bin and hddtemp.db in /var/etc
