]> git.pld-linux.org Git - packages/athcool.git/blobdiff - athcool.init
- simple init script
[packages/athcool.git] / athcool.init
diff --git a/athcool.init b/athcool.init
new file mode 100644 (file)
index 0000000..7bf5675
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# athcool      This shell script takes care of starting athcool
+#
+# chkconfig:    2345 69 31
+# description: set power saving bit on Athlons(TM) with athcool
+# processname: athcool
+
+# Source function library.
+. /etc/rc.d/init.d/functions
+
+# See how we were called.
+case "$1" in
+  start|restart)
+       run_cmd "Starting Athlon Cooling" athcool on
+       ;;
+  stop)
+       run_cmd "Stoping Athlon Cooling" athcool off
+       ;;
+  status)
+       athcool stat
+       ;;
+  *)
+       msg_usage "$0 {start|stop|restart|status}"
+       exit 1
+esac
This page took 0.081261 seconds and 4 git commands to generate.