]> git.pld-linux.org Git - packages/athcool.git/blame - athcool.init
- simple init script
[packages/athcool.git] / athcool.init
CommitLineData
1c56840f
PG
1#!/bin/sh
2#
3# athcool This shell script takes care of starting athcool
4#
5# chkconfig: 2345 69 31
6# description: set power saving bit on Athlons(TM) with athcool
7# processname: athcool
8
9# Source function library.
10. /etc/rc.d/init.d/functions
11
12# See how we were called.
13case "$1" in
14 start|restart)
15 run_cmd "Starting Athlon Cooling" athcool on
16 ;;
17 stop)
18 run_cmd "Stoping Athlon Cooling" athcool off
19 ;;
20 status)
21 athcool stat
22 ;;
23 *)
24 msg_usage "$0 {start|stop|restart|status}"
25 exit 1
26esac
This page took 0.437069 seconds and 4 git commands to generate.