diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-11-22 14:59:07 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-11-22 14:59:07 -0800 |
commit | 50b5dfdc0271c91e22d107793c457fae270e0044 (patch) | |
tree | e42f0045b369339501572814ce3dbd81da7127aa /sdio-hciattach.service | |
download | pinebookpro-post-install-50b5dfdc0271c91e22d107793c457fae270e0044.tar.xz |
Initial commit
Diffstat (limited to 'sdio-hciattach.service')
-rw-r--r-- | sdio-hciattach.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sdio-hciattach.service b/sdio-hciattach.service new file mode 100644 index 0000000..7c1d5a7 --- /dev/null +++ b/sdio-hciattach.service @@ -0,0 +1,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 + |