summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorJoe Slater <joe.slater@windriver.com>2024-04-10 18:17:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-12 17:26:40 +0100
commit091b4410c88b0fdefee3490bca6479881c0da293 (patch)
tree1b0d6be49444e2231b0adddd5938cc498b6df313 /meta/recipes-core
parent954b91e61168685f105e8ca0773729bef186ac7e (diff)
downloadopenembedded-core-091b4410c88b0fdefee3490bca6479881c0da293.tar.gz
init-ifupdown: modify interfaces for busybox
Busybox ifupdown does not recognize /xxx names, so we use eth0 instead of /eth0. If we want to find "predictable name" interfaces starting with en..., we will have to use the real ifupdown. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces b/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces
index e617fcf69b..3d0f0c6768 100644
--- a/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces
+++ b/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces
@@ -14,10 +14,11 @@ iface wlan0 inet dhcp
iface atml0 inet dhcp
# Wired or wireless interfaces including predictable names
-auto /eth0
+auto eth0
iface eth0 inet dhcp
iface eth1 inet dhcp
+# Busybox ifupdown won't process /en* correctly
auto /en*=eth
iface eth inet dhcp