[Pkg-acpi-devel] Bug#607435: acpi-support: asus-wireless-led.sh don't test availability state-funcs

Anton Kropachev tcppmm at gmail.com
Sat Dec 18 13:03:38 UTC 2010


Package: acpi-support
Version: 0.109-11
Severity: minor
Tags: patch

/etc/acpi/start.d/asus-wireless-led.sh trying to include
/usr/share/acpi-support/state-funcs, but don't test it.

-- System Information:
Debian Release: 5.0.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpi-support depends on:
ii  acpi-support-base          0.109-11      scripts for handling base ACPI eve
ii  acpid                      1.0.8-1lenny2 Utilities for using ACPI power man
ii  dmidecode                  2.9-1         Dump Desktop Management Interface 
pn  finger                     <none>        (no description available)
ii  hdparm                     8.9-3         tune hard disk parameters for high
ii  laptop-detect              0.13.6        attempt to detect a laptop
ii  libc6                      2.7-18lenny6  GNU C Library: Shared libraries
ii  lsb-base                   3.2-20        Linux Standard Base 3.2 init scrip
ii  powermgmt-base             1.30+nmu1     Common utils and configs for power
ii  vbetool                    1.0-3         run real-mode video BIOS code to a
ii  x11-xserver-utils          7.3+5         X server utilities

Versions of packages acpi-support recommends:
ii  dbus                      1.2.1-5+lenny1 simple interprocess messaging syst
ii  hal                       0.5.11-8       Hardware Abstraction Layer
ii  nvclock                   0.8b3-1        Allows you to overclock your nVidi
ii  pm-utils                  1.1.2.4-1      utilities and scripts for power ma
pn  radeontool                <none>         (no description available)
pn  toshset                   <none>         (no description available)

Versions of packages acpi-support suggests:
pn  laptop-mode-tools             <none>     (no description available)
-------------- next part --------------
--- 60-asus-wireless-led_orig.sh	2010-12-18 18:38:21.000000000 +0600
+++ 60-asus-wireless-led.sh	2010-12-18 18:37:48.000000000 +0600
@@ -1,4 +1,7 @@
 #!/bin/sh
+
+test -d /usr/share/acpi-support/state-funcs || exit 0
+
 . /usr/share/acpi-support/state-funcs
 if isAnyWirelessPoweredOn ; then
     setLEDAsusWireless 1


More information about the Pkg-acpi-devel mailing list