1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-02-11 09:20:44 +01:00
2024-08-05 09:07:16 +00:00

12 lines
332 B
Desktop File

[Unit]
Description=Raspberry Pi bluetooth helper
Requires=hciuart.service bluetooth.service
After=hciuart.service
Before=bluetooth.service
[Service]
Type=oneshot
ExecCondition=/bin/sh -c '[ "$(cat /proc/device-tree/$(cat /proc/device-tree/aliases/bluetooth)/status)" != "okay" ]'
ExecStart=/usr/bin/bthelper %I
RemainAfterExit=yes