>From dbeb9e14eb4b5d70775426a370681c90928d4d84 Mon Sep 17 00:00:00 2001
From: Jeremy Chang <jer...@0xlab.org>
Date: Mon, 14 Feb 2011 11:28:12 +0800
Subject: [PATCH] Make adbd listen on network interface

adb through ethernet is very common that we need.

Set property service.adb.tcp.port to make adbd listen. The default port
is 5555.

Signed-off-by: Jeremy Chang <jer...@0xlab.org>
---
 init.rc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/init.rc b/init.rc
index b6a92c5..50d2dc6 100644
--- a/init.rc
+++ b/init.rc
@@ -181,6 +181,7 @@ on boot
     ifup lo
     hostname localhost
     domainname localdomain
+    setprop service.adb.tcp.port 5555
 
 # set RLIMIT_NICE to allow priorities from 19 to -20
     setrlimit 13 40 40
-- 
1.7.1


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to