From ab02ac9fd9dfcbc096636eb5ba357361c0689b31 Mon Sep 17 00:00:00 2001
From: Jeremy Chang jeremy@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 jeremy@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