]> git.pld-linux.org Git - packages/acpid.git/commitdiff
- verbose via rc-sysinit of loaded module names is pointless and slow. just load... auto/ac/acpid-1_0_6-1 auto/ti/acpid-1_0_6-1
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 26 Nov 2007 19:26:10 +0000 (19:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acpid.init -> 1.22

acpid.init

index db0db49d90069fcf66b4e5e018d0bb8875bdf519..7dc7d08eeaeee5380893de42bc43dee25089f514 100644 (file)
@@ -24,30 +24,30 @@ TOSHIBA_LAPTOP=""
 start() {
        if [ ! -f /var/lock/subsys/acpid ]; then
                if [ ! -d /proc/acpi/button ]; then
-                       _modprobe ospm_button
-                       _modprobe button
+                       modprobe -s ospm_button
+                       modprobe -s button
                fi
                if [ "$(kernelverser)" -lt "002006" ] && is_yes "$MODPROBE_OSPM_SYSTEM"; then
-                       _modprobe single ospm_system
+                       modprobe -s ospm_system
                fi
                # Load additional modules:
                if [ -n "$LAPTOP_MODULES" ]; then
                        for i in $LAPTOP_MODULES; do
-                               _modprobe single $i
+                               modprobe -s $i
                        done
                fi
                if [ -n "$VARIOUS_MODULES" ]; then
                        for i in $VARIOUS_MODULES; do
-                               _modprobe single $i
+                               modprobe -s $i
                        done
                fi
                # Determine if it's ASUS or TOSHIBA laptop
                if is_yes "$ASUS_LAPTOP"; then
-                       _modprobe asus_acpi
+                       modprobe -s asus_acpi
                elif is_yes "$TOSHIBA_LAPTOP"; then
-                       _modprobe toshiba_acpi
+                       modprobe -s toshiba_acpi
                elif is_yes "$IBM_LAPTOP"; then
-                       _modprobe ibm_acpi
+                       modprobe -s ibm_acpi
                fi
                # starting:
                msg_starting acpid $PROGRAM_ARGS
This page took 0.128967 seconds and 4 git commands to generate.