Fix TIVI-1723 20/9820/2 submit/tizen/20130909.103211
authorRavi kumar Veeramally <ravikumar.veeramally@intel.com>
Fri, 6 Sep 2013 10:39:09 +0000 (13:39 +0300)
committerRAVI KUMAR VEERAMALLY <ravikumar.veeramally@intel.com>
Fri, 6 Sep 2013 12:26:42 +0000 (05:26 -0700)
bt-set-addr.sh is not part of the package and not recommended to
specifically set bluetooth address for IVI. If the condition fails
starting of the unit will be skipped.

Change-Id: I8b2fb8cf5da10afded2701bdbc5c2f1921661194

packaging/bluetooth-address.service

index a79a46c..15bcc69 100644 (file)
@@ -4,6 +4,7 @@
 
 [Unit]
 Description=Generate Bluetooth Address
+ConditionPathExists=/usr/etc/bluetooth/bt-set-addr.sh
 
 [Service]
 Type=oneshot