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

Fix mptcp uci

This commit is contained in:
Ycarus 2018-06-09 17:39:17 +02:00
parent f6701ae8c2
commit 286c6e25ed

View file

@ -10,12 +10,12 @@ if [ "$(uci -q show network.globals | grep mptcp_path_manager)" = "" ]; then
commit network
EOF
fi
if [ "$(uci -q get network.globals.mptcp_checksum")" = "enable" ]; then
if [ "$(uci -q get network.globals.mptcp_checksum)" = "enable" ]; then
uci -q batch <<-EOF
set network.globals.mptcp_checksum=1
EOF
fi
if [ "$(uci -q get network.globals.mptcp_checksum")" = "disable" ]; then
if [ "$(uci -q get network.globals.mptcp_checksum)" = "disable" ]; then
uci -q batch <<-EOF
set network.globals.mptcp_checksum=0
EOF