Thread
:
Bluetooth On/Off Icon or Menu Option
View Single Post
mplawner
2007-11-09 , 08:55
Posts: 76 | Thanked: 19 times | Joined on Apr 2007
#
19
It's a pretty simple command:
/usr/sbin/hciconfig hci0 up
/usr/sbin/hciconfig hci0 down
and... wait for it..
/usr/sbin/hciconfig hci0 reset
Add to /etc/sudoers:
user ALL = NOPASSWD: /usr/sbin/hciconfig hci0 up
user ALL = NOPASSWD: /usr/sbin/hciconfig hci0 down
user ALL = NOPASSWD: /usr/sbin/hciconfig hci0 reset
and then call the above commands with sudo and you're all set! Someone want to wrap a try icon around this and close this issue like a good o-s community?
Quote & Reply
|
mplawner
View Public Profile
Send a private message to mplawner
Find all posts by mplawner