1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

move discoverable inside service

This commit is contained in:
Tim Moody 2019-06-15 14:24:20 -04:00
parent b8436c1e3c
commit 0788563287
2 changed files with 10 additions and 1 deletions

View file

@ -1,9 +1,13 @@
[Unit]
Description=Bluetooth NEP PAN
After=br0.network
#After=br0.network
Before=network.target
After=network-pre.target
Requires=network-pre.target
[Service]
ExecStart=/usr/bin/bt-network -s nap br0
ExecStartPost=/usr/local/bin/iiab-bt-pan-discoverable-on
Type=simple
[Install]

View file

@ -0,0 +1,5 @@
#!/bin/bash
bluetoothctl <<EOF
discoverable on
EOF