1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Disable packet steering by default

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-04-23 17:06:31 +02:00
parent 5084dd2967
commit cbfaa90bf0

View file

@ -91,6 +91,13 @@ _fix_metrics() {
config_load openmptcprouter
config_foreach _fix_metrics interface
if [ -z "$(uci -q get network.globals.packet_steering)" ]; then
uci -q batch <<-EOF
set network.globals.packet_steering="0"
commit network
EOF
fi
if [ "$(uci -q show network.lan | grep multipath)" != "" ]; then
exit 0
fi