Skip to content

Commit

Permalink
Fix hciattach not working in systemd unit
Browse files Browse the repository at this point in the history
  • Loading branch information
RadxaYuntian committed Nov 28, 2023
1 parent bd3eaa7 commit 14f784d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debian/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ BindsTo=dev-%i.device
After=dev-%i.device

[Service]
Type=simple
ExecStart=/usr/bin/bash -c '/usr/bin/hciattach -s 1500000 /dev/%I any 1500000 flow nosleep && /usr/sbin/rfkill unblock bluetooth'
Type=forking
ExecStart=/usr/bin/hciattach -s 1500000 /dev/%I any 1500000 flow nosleep

[Install]
WantedBy=multi-user.target

0 comments on commit 14f784d

Please sign in to comment.