Actually that is correct. The reason you use "grep -i -n1 -q disabled $BLUETOOTH" is that if you
cat you get:
root@thinkpad:/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.
Actually that is correct. The reason you use "grep -i -n1 -q disabled $BLUETOOTH" is that if you /home/jerone# cat /proc/acpi/ ibm/bluetooth
cat you get:
root@thinkpad:
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: /bugs.launchpad .net/ubuntu/ +source/ acpi-support/ +bug/24680
https:/