b634680e9b801bff71b0e8b50d2974a0fef744b3
[platform/core/connectivity/bluetooth-tools.git] / packaging / bluetooth-address.service
1 # this Unit set Bluetooth Address, some application use the address although bluetooth doesn't turn on.
2 # especially, OSP API use it as such way.
3 #
4
5 [Unit]
6 Description=Generate Bluetooth Address
7 ConditionPathExists=/usr/etc/bluetooth/bt-set-addr.sh
8
9 [Service]
10 Type=oneshot
11 SmackProcessLabel=System
12 ExecStart=/usr/etc/bluetooth/bt-set-addr.sh
13 RemainAfterExit=yes
14
15 [Install]
16 WantedBy=bluetooth.target
17