restart bluetooth deamon
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 24 Sep 2016 19:16:31 +0000 (21:16 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 24 Sep 2016 19:16:31 +0000 (21:16 +0200)
bt-serial-server.sh

index cc158bf..af67f7d 100755 (executable)
@@ -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