mediatek: mt7622: add netdev rename preinit script
authorDaniel Golle <daniel@makrotopia.org>
Tue, 15 Oct 2024 23:10:28 +0000 (00:10 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 15 Oct 2024 23:10:28 +0000 (00:10 +0100)
commit7e51d6a4c85de575654c49f410ce3e173176d1a9
treee088bc9d99b829e4225fc488ba600ae72228a906
parente98987048ad73012cb29993c39c2de8682d64f9b
mediatek: mt7622: add netdev rename preinit script

Add preinit script to rename network interfaces according to the
label provided in Device Tree.

Fixes: b6d8297510 ("mediatek: mt7622: add Adtran SmartRG SDG-841t6 device")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/mt7622/base-files/lib/preinit/04_set_netdev_label [new file with mode: 0644]