diff options
Diffstat (limited to 'uds-ble-id-init-service/btle-advise.service')
-rw-r--r-- | uds-ble-id-init-service/btle-advise.service | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/uds-ble-id-init-service/btle-advise.service b/uds-ble-id-init-service/btle-advise.service deleted file mode 100644 index 1a34237..0000000 --- a/uds-ble-id-init-service/btle-advise.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=activates advertising of BlueTooth Low-Energy on hci0 - -[Service] -Type=oneshot -ExecStart=/bin/bash -c "rfkill list|sed '/[bB]luetooth/!d;s/:.*//'|xargs -n1 rfkill unblock" -ExecStart=/bin/bash -c "hcitool dev|tail -n+2|cut -f2|xargs -n1 -IX hciconfig X leadv" - |