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