mediatek: filogic: set wan label in preinit
authorBjørn Mork <bjorn@mork.no>
Thu, 18 May 2023 09:56:35 +0000 (11:56 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 8 Jul 2024 20:49:34 +0000 (22:49 +0200)
commit1dd9f26183c46f16e78067b4d28b126b548f3f11
tree65c82265936c0773d35487d3ee76fa560db2692e
parent7764d482d9a28e7c33e7efe3a1c0214ec29045ff
mediatek: filogic: set wan label in preinit

Implement the functionality of
target/linux/ramips/patches-5.15/700-net-ethernet-mediatek-support-net-labels.patch
in userspace, since the driver patch has been rejected as a generic solution:
https://github.com/openwrt/openwrt/pull/11435

Signed-off-by: Bjørn Mork <bjorn@mork.no>
(cherry picked from commit 1dd1ac2c356ad37366dde64b624e5eb489b19393)
target/linux/mediatek/filogic/base-files/lib/preinit/04_set_netdev_label [new file with mode: 0644]