From: Jarosław Kruk Date: Thu, 17 Jul 2003 16:40:53 +0000 (+0000) Subject: - Run modprobe ospm_system on startup X-Git-Tag: auto/ac/acpid-1_0_2-2_2~7 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=f315a54f019d126902b00619c4b26865d98ce10a;hp=c892e1e5d1f38d697209bc80124edadf54a8bb66;p=packages%2Facpid.git - Run modprobe ospm_system on startup Changed files: acpid.init -> 1.10 acpid.spec -> 1.27 acpid.sysconfig -> 1.2 --- diff --git a/acpid.init b/acpid.init index 8666225..4a7f615 100644 --- a/acpid.init +++ b/acpid.init @@ -24,6 +24,9 @@ case "$1" in if [ ! -f /proc/acpi/event ]; then _modprobe single ospm_button fi + if is_yes "$MODPROBE_OSPM_SYSTEM"; then + _modprobe single ospm_system + fi msg_starting acpid $PROGRAM_ARGS daemon acpid RETVAL=$? diff --git a/acpid.spec b/acpid.spec index 0eb69e8..a776f9f 100644 --- a/acpid.spec +++ b/acpid.spec @@ -2,7 +2,7 @@ Summary: ACPI Event Daemon Summary(pl): Demon zdarzeñ ACPI Name: acpid Version: 1.0.2 -Release: 1 +Release: 2 License: GPL Group: Daemons # Source0-md5: 15884aaf0b82717954f9366b5c00808b diff --git a/acpid.sysconfig b/acpid.sysconfig index 8bcb2a4..aee646e 100644 --- a/acpid.sysconfig +++ b/acpid.sysconfig @@ -5,3 +5,6 @@ SERVICE_RUN_NICE_LEVEL="+0" # Program arguments: PROGRAM_ARGS="" + +# Run modprobe ospm_system on startup +MODPROBE_OSPM_SYSTEM="yes"