Skip to content
Browse files

android-tools: only start adbd when usb debugging is enabled

Signed-off-by: Simon Busch <morphis@gravedo.de>
  • Loading branch information...
1 parent 8ff9e85 commit c93caeb53ea331f7f281690a89129afa49c5d87a @morphis morphis committed with shr-project Feb 16, 2014
View
12 recipes-android/android-tools/android-tools/android-tools-adbd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Android Debug Bridge
+ConditionPathExists=/var/usb-debugging-enabled
+
+[Service]
+Type=simple
+Restart=on-failure
+ExecStart=/usr/bin/adbd
+StandardOutput=null
+
+[Install]
+WantedBy=basic.target
View
1 recipes-android/android-tools/android-tools_4.2.2.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

0 comments on commit c93caeb

Please sign in to comment.
Something went wrong with that request. Please try again.