mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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. (From OE-Core rev: 091b4410c88b0fdefee3490bca6479881c0da293) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
46e863849f
commit
03ad123fdc
@@ -14,10 +14,11 @@ iface wlan0 inet dhcp
|
|||||||
iface atml0 inet dhcp
|
iface atml0 inet dhcp
|
||||||
|
|
||||||
# Wired or wireless interfaces including predictable names
|
# Wired or wireless interfaces including predictable names
|
||||||
auto /eth0
|
auto eth0
|
||||||
iface eth0 inet dhcp
|
iface eth0 inet dhcp
|
||||||
iface eth1 inet dhcp
|
iface eth1 inet dhcp
|
||||||
|
|
||||||
|
# Busybox ifupdown won't process /en* correctly
|
||||||
auto /en*=eth
|
auto /en*=eth
|
||||||
iface eth inet dhcp
|
iface eth inet dhcp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user