Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
sparse: [hack] Unblock bluetooth with rfkill before starting bluebinder
Browse files Browse the repository at this point in the history
Change-Id: I078e37a6c04ed47737d5a3d1dcae0f6478aa5b31
  • Loading branch information
Shouko committed Jan 2, 2021
1 parent cf48af9 commit 857ab72
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sparse/usr/bin/droid/droid-post-startup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
rfkill unblock all
sleep 10
systemctl restart bluebinder.service
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../droid-post-startup.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Unit]
Description=Droid post-startup script
After=bluetooth.service

[Service]
ExecStart=/usr/bin/droid/droid-post-startup.sh

[Install]
WantedBy=graphical.target

0 comments on commit 857ab72

Please sign in to comment.