Author: freetz                       Date: Sun Mar 12 21:09:36 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use a default governors list and use modprobe -q

---- Files affected:
SOURCES:
   powersave.init (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SOURCES/powersave.init
diff -u SOURCES/powersave.init:1.9 SOURCES/powersave.init:1.10
--- SOURCES/powersave.init:1.9  Sun Mar 12 21:03:15 2006
+++ SOURCES/powersave.init      Sun Mar 12 22:09:30 2006
@@ -20,7 +20,7 @@
 . /etc/powersave/thermal
 
 ACPI_EVENT_FILE="/var/run/acpid.socket"
-GOVS="`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors`"
+GOVS="ondemand powersave performance userspace"
 
 RETVAL=0
 # See how we were called.
@@ -33,7 +33,7 @@
                    _modprobe $CPUFREQD_MODULE $CPUFREQD_MODULE_OPTS
                    # Load available governors
                    for i in $GOVS; do
-                       _modprobe single $i
+                       modprobe -q cpufreq_$i
                    done
                fi
            fi
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/powersave.init?r1=1.9&r2=1.10&f=u

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

Reply via email to