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:
parent
5084dd2967
commit
cbfaa90bf0
1 changed files with 7 additions and 0 deletions
|
@ -91,6 +91,13 @@ _fix_metrics() {
|
||||||
config_load openmptcprouter
|
config_load openmptcprouter
|
||||||
config_foreach _fix_metrics interface
|
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
|
if [ "$(uci -q show network.lan | grep multipath)" != "" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue