Parent Directory | Revision Log
small bluetooth helper script
1 | dpavlin | 109 | if [ "$1" == 'off' ] ; then |
2 | sudo sh -c 'echo disable > /proc/acpi/ibm/bluetooth' | ||
3 | exit | ||
4 | fi | ||
5 | |||
6 | sudo sh -c 'echo enable > /proc/acpi/ibm/bluetooth' | ||
7 | sleep 1 | ||
8 | sudo hciconfig hci0 down | ||
9 | sudo hciconfig hci0 up | ||
10 | hciconfig | ||
11 | |||
12 | if [ ! -z "$1" ] ; then | ||
13 | rfcomm release rfcomm0 | ||
14 | rfcomm connect rfcomm0 00:14:A7:6D:0E:DA & | ||
15 | pon $1 | ||
16 | fi | ||
17 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |