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

Simplify default MPTCP config

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-05-28 18:52:16 +02:00
parent 67c295dbd7
commit fe607e3d48

View file

@ -1,5 +1,5 @@
#!/bin/sh
if [ "$(uci -q show network.globals | grep mptcp_path_manager)" = "" ]; then
if [ "$(uci -q get network.globals.mptcp_path_manager)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set network.globals.multipath='enable'
set network.globals.mptcp_path_manager='fullmesh'