projects
/
bluetooth-cookbook
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58f846f
)
restart bluetooth deamon
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 24 Sep 2016 19:16:31 +0000
(21:16 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 24 Sep 2016 19:16:31 +0000
(21:16 +0200)
bt-serial-server.sh
patch
|
blob
|
history
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