mediatek: filogic: set wan label in preinit
authorBjørn Mork <bjorn@mork.no>
Thu, 18 May 2023 09:56:35 +0000 (11:56 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 19 Aug 2023 23:14:06 +0000 (01:14 +0200)
commit1dd1ac2c356ad37366dde64b624e5eb489b19393
treee82d972093e9e18dcf8d86bfcf42be28f04dd5de
parentb2e810f49588d1bbc90f657826e94b32474b482c
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>
target/linux/mediatek/filogic/base-files/lib/preinit/04_set_netdev_label [new file with mode: 0644]