]> git.pld-linux.org Git - packages/acpid.git/commitdiff
- make those options configurable via variables whose default we likely want to change
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 23 Mar 2010 07:27:25 +0000 (07:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acpid.init -> 1.31
    acpid.sysconfig -> 1.13

acpid.init
acpid.sysconfig

index c766633cbbbefac343d4be05025229978cb8e4b5..caea41f999cf9e49295efb859cb823619fe6eaff 100644 (file)
@@ -65,6 +65,13 @@ start() {
 
        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 42934462a364a9b71221780d983c40333848f46e..3a888e9085db79cc8e54f88160c9fd3bdba8d063 100644 (file)
@@ -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
This page took 0.073229 seconds and 4 git commands to generate.