mediatek: filogic: avoid sub-shell invovation in netdev rename loop
authorDaniel Golle <daniel@makrotopia.org>
Thu, 30 May 2024 13:38:56 +0000 (14:38 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 8 Jul 2024 20:49:34 +0000 (22:49 +0200)
commitcb2cda24e7fdcdd4850c5aec6c76416ce7f89491
treeac2f6bb7a9951ba2317673d511d9b0da6e88e836
parent1dd9f26183c46f16e78067b4d28b126b548f3f11
mediatek: filogic: avoid sub-shell invovation in netdev rename loop

Rename network devices to their label set in DT without invocation of
a sub-shell.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 983222605ce6fabb036fbbd5797b6689ed082136)
target/linux/mediatek/filogic/base-files/lib/preinit/04_set_netdev_label