3 # athcool This shell script takes care of starting athcool
5 # chkconfig: 2345 69 31
6 # description: set power saving bit on Athlons(TM) with athcool
9 # Source function library.
10 . /etc/rc.d/init.d/functions
15 [ -f /etc/sysconfig/athcool ] && . /etc/sysconfig/athcool
17 # See how we were called.
19 start|restart|force-reload)
20 if [ "$ATHCOOL_RUN" = "yes" ]; then
21 run_cmd "Starting Athlon Cooling" athcool on
25 if [ "$ATHCOOL_RUN" = "yes" ]; then
26 run_cmd "Stoping Athlon Cooling" athcool off
33 msg_usage "$0 {start|stop|restart|force-reload|status}"