fancontrol init script for ubuntu +
Hello lmsensors mailing list :-)
Here's a standards-compliant init script for fancontrol, developed and tested using fancontrol 0.66 on ubuntu 8.04.1. It may work on other ubuntus, debian and other debian-based systems using lsb-base (>= 3.0-6).
Part of the standards-compliance is that the script issues no messages at boot or shutdown if /etc/default/rcS has VERBOSE=no (the default value).
Best
Charles
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 8 lines · Charles
Hello lmsensors mailing list :-)
Here's a standards-compliant init script for fancontrol, developed and tested using fancontrol 0.66 on ubuntu 8.04.1. It may work on other ubuntus, debian and other debian-based systems using lsb-base (>= 3.0-6).
Part of the standards-compliance is that the script issues no messages at boot or shutdown if
/etc/default/rcShas VERBOSE=no (the default value).
Does anyone have a similar init script for fancontrol on redhat/centos/fedora?
Thanks,
Mark Nienberg
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 3 lines · Charles
Here's a standards-compliant init script for fancontrol, developed and tested using fancontrol 0.66 on ubuntu 8.04.1. It may work on other ubuntus, debian and other debian-based systems using lsb-base (>= 3.0-6).
Are you joking? Which "standard"? You say standards-compliant, then say it only works on Debian?
Quoted 2 lines
Part of the standards-compliance is that the script issues no messages at boot or shutdown if
/etc/default/rcShas VERBOSE=no (the default value).
Where is this requirement mentioned? I don't see it in
http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/tocsysinit.html
byt may have missed something.
Greets,
Volker
Signature · 7 lines
Volker Kuhlmann is list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me. _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 1 line · Mark Nienberg
Does anyone have a similar init script for fancontrol on redhat/centos/fedora?
Yes there is. /etc/init.d/lm_sensors on openSUSE loads the necessary modules, and also starts the fancontrol script if /etc/fancontrol (the fancontrol config file) exists. The script may not run directly on redhat, but if you transplant the few lines of code into /etc/init.d/skeleton.compat it will run on any chkconfig system.
The files are in these packages:/etc/init.d/lm_sensors sensors/etc/init.d/skeleton.compat aaa_base
Available from download.opensuse.org.
You can replace /usr/sbin/fancontrol with any script of your choice (there are several on offer).
HTH,
Volker
Signature · 7 lines
Volker Kuhlmann is list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me. _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors