]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
init-ifupdown: modify interfaces for busybox
authorJoe Slater <joe.slater@windriver.com>
Thu, 11 Apr 2024 01:17:44 +0000 (18:17 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Apr 2024 16:26:40 +0000 (17:26 +0100)
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>
meta/recipes-core/init-ifupdown/init-ifupdown-1.0/interfaces

index e617fcf69b732b929027689fb10458accadc1c6b..3d0f0c676879fe559ea715f3fbc50f1e87232ede 100644 (file)
@@ -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