restart bluetooth deamon
[bluetooth-cookbook] / 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