Actually that is correct. The reason you use "grep -i -n1 -q disabled $BLUETOOTH" is that if you cat you get: [EMAIL PROTECTED]:/home/jerone# cat /proc/acpi/ibm/bluetooth status: disabled commands: enable, disable
The first line will allways be the status. But the 2nd line is the commands. We only want to see the first line. Also havig FN+F5 toggle both bluetooh & wireless is extremely confusing to users as there is an rf_kill switch if you want to kill it. Now under Windows FN+F5 calls up a program that you then choose if you want to enable/disable bluetooth. Most perfer FN+F5 just be for bluetooth. There is another bugzilla with people who have the same feelings: https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/24680 -- Add better behavior & fix for bluetooth with Lenovo Thinkpads (Code included) https://bugs.launchpad.net/bugs/183682 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs