projects
/
bluetooth-cookbook
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
restart bluetooth deamon
[bluetooth-cookbook]
/
bt-serial-server.sh
diff --git
a/bt-serial-server.sh
b/bt-serial-server.sh
index
cc158bf
..
af67f7d
100755
(executable)
--- a/
bt-serial-server.sh
+++ b/
bt-serial-server.sh
@@
-1,4
+1,5
@@
#!/bin/sh -xe
+/etc/init.d/bluetooth.sh restart || systemctl restart bluetooth.service
hciconfig -a
hciconfig hci0 up
hciconfig hci0 piscan