mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2024-12-25 08:20:44 +01:00
14 lines
322 B
SYSTEMD
14 lines
322 B
SYSTEMD
|
[Unit]
|
||
|
Description=Bluetooth Auth Agent
|
||
|
After=bluetooth.service
|
||
|
PartOf=bluetooth.service
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStartPre=/usr/bin/bt-adapter -s Powered on
|
||
|
ExecStartPre=/usr/bin/bt-adapter -s Discoverable on
|
||
|
ExecStart=/usr/bin/bt-agent -c NoInputNoOutput -p /etc/bluetooth/pin.conf
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=bluetooth.target
|