openwrt/target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps
Sungbo Eo 923792369e mediatek: do not create device nodes in uci-defaults script
Since commit 298814e6be ("base-files: config_generate: split macaddr with
multiple ifaces") uci MAC address setup will create a device node for each
member iface. But this script might override the device nodes and interfere
with the MAC address setup.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-07-09 10:28:40 +02:00

6 lines
159 B
Plaintext
Executable File

uci -q get network.globals.packet_steering >/dev/null || {
uci set network.globals='globals'
uci set network.globals.packet_steering=1
uci commit network
}