vexpress-a9: hack to get gatord and adb working at boot
As there is currently no Ethernet Communication Manager (ECM)
on ICS (bug #894502) we need some hackery to bring up networking
at boot time. This will let gator and adb work without manual
intervention.
Hopefull, this can be reverted when we have ECM
Change-Id: Ice094c168c4742e011e2c36e8d82a26f2a18f6db
Signed-off-by: Jon Medhurst <tixy@linaro.org>
diff --git a/init.arm-versatileexpress.rc b/init.arm-versatileexpress.rc
index 2aaa6b7..a34c208 100644
--- a/init.arm-versatileexpress.rc
+++ b/init.arm-versatileexpress.rc
@@ -58,9 +58,17 @@
group bluetooth
oneshot
+# hack to start networking until ICS has Ethernet Communication Manager
+# this will enable use of ADB and gator without further manual
+# intervention, it does not let UI apps like the web browser work
+service netcfghack /system/bin/netcfg eth0 dhcp
+ class main
+ user root
+ oneshot
+
#userspace daemon needed for gator
service gatord /system/bin/gatord
class main
user root
- oneshot
+