summaryrefslogtreecommitdiffstats
path: root/recipes/adbd
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2015-01-29 10:34:25 +0200
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2015-01-29 15:26:39 +0200
commit7c2791f226df89f5b0bcffc2964e96db9dee5f0f (patch)
treecba198834361f73f36a21a9c10410b5ae3d17e47 /recipes/adbd
parent943121c7af2f5db831ded0feb9808f649e58e0b6 (diff)
downloadmeta-boot2qt-7c2791f226df89f5b0bcffc2964e96db9dee5f0f.tar.gz
Start dbus session bus at boot
Session address is saved to /var/run/dbus/session_bus_address, which is read in /etc/profile.d/dbus-session-address for interactive login and by adbd for applications launched from QtCreator. Change-Id: I8e1f43bdb2f7a7b0450dacf39890cf149459bbf4 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
Diffstat (limited to 'recipes/adbd')
-rwxr-xr-xrecipes/adbd/files/adb-init4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes/adbd/files/adb-init b/recipes/adbd/files/adb-init
index 92500d7..d8920b8 100755
--- a/recipes/adbd/files/adb-init
+++ b/recipes/adbd/files/adb-init
@@ -4,6 +4,10 @@ DAEMON=/usr/bin/adbd
4 4
5. /etc/default/adbd 5. /etc/default/adbd
6 6
7if [ -e /var/run/dbus/session_bus_address ]; then
8 . /var/run/dbus/session_bus_address
9fi
10
7case "$1" in 11case "$1" in
8start) 12start)
9 if [ "$USE_ETHERNET" = "no" ]; then 13 if [ "$USE_ETHERNET" = "no" ]; then