Author: glen                         Date: Tue Mar 23 07:27:30 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- make those options configurable via variables whose default we likely want to 
change

---- Files affected:
packages/acpid:
   acpid.init (1.30 -> 1.31) , acpid.sysconfig (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: packages/acpid/acpid.init
diff -u packages/acpid/acpid.init:1.30 packages/acpid/acpid.init:1.31
--- packages/acpid/acpid.init:1.30      Tue Nov 17 22:33:08 2009
+++ packages/acpid/acpid.init   Tue Mar 23 08:27:25 2010
@@ -65,6 +65,13 @@
 
        load_modules
 
+       if is_yes "$NETLINK"; then
+               PROGRAM_ARGS="$PROGRAM_ARGS -n"
+       fi
+       if [ "$CLIENTMAX" ]; then
+               PROGRAM_ARGS="$PROGRAM_ARGS -C $CLIENTMAX"
+       fi
+
        # starting:
        msg_starting "ACPI Event Daemon"
        daemon /usr/sbin/acpid $PROGRAM_ARGS

================================================================
Index: packages/acpid/acpid.sysconfig
diff -u packages/acpid/acpid.sysconfig:1.12 packages/acpid/acpid.sysconfig:1.13
--- packages/acpid/acpid.sysconfig:1.12 Tue Nov 17 22:30:03 2009
+++ packages/acpid/acpid.sysconfig      Tue Mar 23 08:27:25 2010
@@ -3,7 +3,16 @@
 # Define nice level for acpid:
 SERVICE_RUN_NICE_LEVEL="+0"
 
-# Program arguments passed to acpid commandline
+# This option changes the maximum number of non-root socket connections which
+# can be made to the acpid socket.
+# Default is 256.
+#CLIENTMAX=256
+
+# This option forces acpid to use the Linux kernel input layer and netlink
+# interface for ACPI events.
+#NETLINK=yes
+
+# Extra program arguments passed to acpid commandline
 PROGRAM_ARGS=""
 
 # Modules to load before starting acpid
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/acpid/acpid.init?r1=1.30&r2=1.31&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/acpid/acpid.sysconfig?r1=1.12&r2=1.13&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to