asus-wireless.sh wants to switch led on even if no wifi card is present
Bug #38354 reported by
Nicolò Chieffo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
look at wireless.sh, it echos a 0 if the card is off, a 1 if it's on, and nothing if no card is present.
asus-wireless.sh should do so:
state=`. /etc/acpi/
if [ "$state" = "1" ]; then
echo -n 1 > /proc/acpi/
else
echo -n 0 > /proc/acpi/
fi
now 1 and 0 are inverted, but it's wrong!
To post a comment you must log in.
Excuse me, did you receive the request?? This is a easily fixable bug, but it's still there!