]> git.pld-linux.org Git - packages/athcool.git/commitdiff
- simple init script
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 5 Aug 2003 22:22:03 +0000 (22:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    athcool.init -> 1.1

athcool.init [new file with mode: 0644]

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.064361 seconds and 4 git commands to generate.