distribution/packages/kernel/linux-firmware/rockchip-firmware/system.d/btattach@.service
2022-02-05 09:23:32 -05:00

11 lines
307 B
Desktop File

[Unit]
Description=Attach /dev/ttyS0 to BlueZ stack using %I protocol
Wants=bluetooth.service
Before=bluetooth.service
After=dev-ttyS0.device
[Service]
Type=simple
ExecStartPre=/usr/sbin/rfkill unblock bluetooth
ExecStart=/usr/bin/btattach -B /dev/ttyS0 -P %I
ExecStopPost=/usr/sbin/rfkill block bluetooth