base-files: migrate old UCI network bridge ports syntax
authorRafał Miłecki <rafal@milecki.pl>
Sat, 15 May 2021 21:04:35 +0000 (23:04 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 19 Jun 2024 07:11:44 +0000 (09:11 +0200)
commitc8e68dce61140460ff38ac04fa84e57246f8ae63
treee0f9d90c034e465d73de74f867adb4ba9378c8ad
parent368441254e69e6381cab6781fd1c99ecbf2d03c2
base-files: migrate old UCI network bridge ports syntax

netifd supports more accurate "ports" option (instead of "ifname") for
years now. Relevant changes were even backported to OpenWrt 21.02. Add
uci-defaults script that translates config files using deprecated
syntax.

Identical commit f716c30241d5 ended up reverted back in 2021 by
80be798d4a4f due to breaking downgrades. With 19.07 support ended it
should no longer be an issue.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
package/base-files/files/etc/uci-defaults/11_network-migrate-bridges [new file with mode: 0644]