malta: use default OpenWrt network configuration
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 28 May 2022 12:32:08 +0000 (14:32 +0200)
committerPaul Spooren <mail@aparcar.org>
Sat, 28 May 2022 15:35:34 +0000 (17:35 +0200)
commitfb1ba922026a4b7d04ef5c8058f7890ed7b790e6
treebdb88f0afa488affa61a8acbef87d935d540cd37
parent481339a0426698adaa0254b479807efde0428de9
malta: use default OpenWrt network configuration

Currently malta configures the first Ethernet device as WAN interface.
If it finds a second one it will configure it as LAN.

This commit reverses it to match armvirt and x86. If there is only one
network device it will be configured as LAN device now. If we find two
network devices the 2. one will be WAN.

If no board.d network configuration is given it will be configured in
package/base-files/files/etc/board.d/99-default_network

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
[minor typos]
Signed-off-by: Paul Spooren <mail@aparcar.org>
target/linux/malta/base-files/etc/board.d/02_network [deleted file]