All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH] netbase: don't start udhcpc if kernel assigned IP statically
@ 2009-09-21 16:07 Denys Dmytriyenko
  2009-09-21 19:45 ` Phil Blundell
  2009-09-21 20:46 ` Koen Kooi
  0 siblings, 2 replies; 9+ messages in thread
From: Denys Dmytriyenko @ 2009-09-21 16:07 UTC (permalink / raw)
  To: openembedded-devel


Signed-off-by: Denys Dmytriyenko <denis@denix.org>
---
 recipes/netbase/netbase/interfaces |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/recipes/netbase/netbase/interfaces b/recipes/netbase/netbase/interfaces
index c615642..bae03dd 100644
--- a/recipes/netbase/netbase/interfaces
+++ b/recipes/netbase/netbase/interfaces
@@ -52,6 +52,8 @@ iface atml0 inet dhcp
 # Wired or wireless interfaces
 auto eth0
 iface eth0 inet dhcp
+        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+
 iface eth1 inet dhcp
 
 # Ethernet/RNDIS gadget (g_ether)
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-09-22 18:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-21 16:07 [RFC][PATCH] netbase: don't start udhcpc if kernel assigned IP statically Denys Dmytriyenko
2009-09-21 19:45 ` Phil Blundell
2009-09-21 22:39   ` Denys Dmytriyenko
2009-09-22  8:54     ` Stanislav Brabec
2009-09-22 13:28     ` Phil Blundell
2009-09-22 16:42       ` Denys Dmytriyenko
2009-09-22 18:00         ` Phil Blundell
2009-09-22 18:32           ` Denys Dmytriyenko
2009-09-21 20:46 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.