This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sparse: [hack] Unblock bluetooth with rfkill before starting bluebinder
Change-Id: I078e37a6c04ed47737d5a3d1dcae0f6478aa5b31
- Loading branch information
Shouko
committed
Jan 2, 2021
1 parent
cf48af9
commit 857ab72
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
1 change: 1 addition & 0 deletions
1
sparse/usr/lib/systemd/system/graphical.target.wants/droid-post-startup.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../droid-post-startup.service |
9 changes: 9 additions & 0 deletions
9
sparse/usr/lib/systemd/system/multi-user.target.wants/droid-post-startup.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |