blob: 02faeb8f906ef4ef45cb4128d64d2879475d92c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
[Unit]
Description=Run hciattach when HCI UART device becomes available
Before=bluetooth.service
Wants=dev-ttyTHS3.device
After=dev-ttyTHS3.device
[Service]
Type=oneshot
ExecStart=/usr/bin/hciattach ttyTHS3 any
ExecStartPost=/usr/sbin/rfkill unblock bluetooth
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
|