summaryrefslogtreecommitdiff
path: root/sdio-hciattach.service
blob: 7c1d5a7cf39dbb2d828f5bab63f513a4a4ded965 (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Start bluetooth on ttyS0
After=systemd-modules-load.service

[Service]
Type=forking
ExecStart=/bin/bash -c 'echo 0 > /sys/class/rfkill/rfkill0/state; sleep 1; echo 1 > /sys/class/rfkill/rfkill0/state; sleep 1; exec /usr/bin/hciattach /dev/ttyS0 bcm43xx 1500000 flow nosleep'

[Install]
WantedBy=multi-user.target