Author: sparky                       Date: Tue Mar  1 12:26:31 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- permit to specify action; athcool may be used to turnoff powersaving
  bit but services with K are not killed on startup

---- Files affected:
SOURCES:
   athcool.init (1.6 -> 1.7) , athcool.sysconfig (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/athcool.init
diff -u SOURCES/athcool.init:1.6 SOURCES/athcool.init:1.7
--- SOURCES/athcool.init:1.6    Thu Nov 11 20:01:49 2004
+++ SOURCES/athcool.init        Tue Mar  1 13:26:26 2005
@@ -3,13 +3,14 @@
 # athcool      This shell script takes care of starting athcool
 #
 # chkconfig:    2345 69 31
-# description: set power saving bit on Athlons(TM) with athcool
+# description: set/unset power saving bit on Athlons(TM) with athcool
 # processname: athcool
 
 # Source function library.
 . /etc/rc.d/init.d/functions
 
 ATHCOOL_RUN=no
+ATHCOOL_ACTION="on fixup"
 
 # Get service config
 [ -f /etc/sysconfig/athcool ] && . /etc/sysconfig/athcool
@@ -18,7 +19,7 @@
 case "$1" in
   start|restart|force-reload)
        if [ "$ATHCOOL_RUN" = "yes" ]; then
-               run_cmd "Starting Athlon Cooling" athcool on fix
+               run_cmd "Starting Athlon Cooling" athcool $ATHCOOL_ACTION
        fi
        ;;
   stop)

================================================================
Index: SOURCES/athcool.sysconfig
diff -u SOURCES/athcool.sysconfig:1.1 SOURCES/athcool.sysconfig:1.2
--- SOURCES/athcool.sysconfig:1.1       Fri Aug  8 16:24:25 2003
+++ SOURCES/athcool.sysconfig   Tue Mar  1 13:26:26 2005
@@ -12,3 +12,8 @@
 #
 # If you still want this - uncomment this line:
 #ATHCOOL_RUN=yes
+
+# Action that athcool should perform when starting service. Normally it is
+# "on" or "on fixup", but some people nead to turnoff powersaving bit
+# on startup.
+ATHCOOL_ACTION="on fixup"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/athcool.init?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/SOURCES/athcool.sysconfig?r1=1.1&r2=1.2&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to