SOURCES: powersave.init - tuned up for 0.11.0

freetz freetz at pld-linux.org
Sun Jan 1 22:55:55 CET 2006


Author: freetz                       Date: Sun Jan  1 21:55:55 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- tuned up for 0.11.0

---- Files affected:
SOURCES:
   powersave.init (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/powersave.init
diff -u SOURCES/powersave.init:1.5 SOURCES/powersave.init:1.6
--- SOURCES/powersave.init:1.5	Sat Oct 15 15:00:04 2005
+++ SOURCES/powersave.init	Sun Jan  1 22:55:50 2006
@@ -14,12 +14,23 @@
 # Configuration file.
 . /etc/sysconfig/powersaved
 
+# Additional configs
+. /etc/powersave/common
+. /etc/powersave/cpufreq
+. /etc/powersave/thermal
+
 ACPI_EVENT_FILE="/var/run/acpid.socket"
 
 RETVAL=0
 # See how we were called.
 case "$1" in
   start)
+	# Load additional modules:
+        if [ -n "$LAPTOP_MODULES" ]; then
+            for i in $LAPTOP_MODULES; do
+                _modprobe single $i
+                done
+        fi
 	# Start daemons.
 	if [ ! -f /var/lock/subsys/powersave ]; then
 		# starting:
================================================================

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



More information about the pld-cvs-commit mailing list