>From ab02ac9fd9dfcbc096636eb5ba357361c0689b31 Mon Sep 17 00:00:00 2001
From: Jeremy Chang <jer...@0xlab.org>
Date: Mon, 14 Feb 2011 11:19:08 +0800
Subject: [PATCH] Enable ethernet interface during booting

Try to enable network and get ip by dhcp in boot script

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

diff --git a/init.omap3.sh b/init.omap3.sh
index 997ee03..c91705b 100755
--- a/init.omap3.sh
+++ b/init.omap3.sh
@@ -15,3 +15,7 @@ do
             ;;
     esac
 done < /proc/cpuinfo
+
+netcfg usb0 up
+sleep 3
+netcfg usb0 dhcp
-- 
1.7.1


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

Reply via email to