openwrt/target/linux/mediatek/base-files/etc
Adrian Schmutzler 670eeb7888 mediatek: fix IPv4-only corner case and commit in 99-net-ps
The uci config section network.globals set up in /bin/config_generate
will only be created if /proc/sys/net/ipv6 exists.

Correspondingly, lacking IPv6 support, the command
uci set network.globals.packet_steering=1
will fail with "uci: Invalid argument" as the network.globals config
has not been set up.

Fix that by adding the setup there as well.

While at it, limit the uci commit to the network config file.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 636b62e8e2)
2020-06-28 14:34:35 +02:00
..
board.d mediatek: Add support for the UniElec U7623-02 2018-06-22 11:25:52 +02:00
uci-defaults mediatek: fix IPv4-only corner case and commit in 99-net-ps 2020-06-28 14:34:35 +02:00
inittab mediatek: backport upstream mediatek patches 2018-05-24 22:11:55 +02:00