Public bug reported:

as we can see in /etc/acpi/asus-wireless.sh there's no use of the function 
defined in /usr/share/acpi-support/state-funcs.
This is how the file looks now:

#!/bin/bash
# Find and enable/disable wireless devices

state=`. /etc/acpi/wireless.sh`

if [ "$state" = "0" ]; then
      echo -n 0 > /proc/acpi/asus/wled
else
      echo -n 1 > /proc/acpi/asus/wled
fi
# ---- END ----


and this is how it should be:

#!/bin/bash
# Find and enable/disable wireless devices

. /usr/share/acpi-support/state-funcs

state=`. /etc/acpi/wireless.sh`

setLEDAsusWireless "$state"

** Affects: acpi-support (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
/etc/acpi/asus-wireless.sh does not use the setLEDAsusWireless function
https://launchpad.net/bugs/66087

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to