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

Add MPTCP over VPN

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-10-26 09:16:28 +02:00
parent 85ba3b7c19
commit a080b959ba
5 changed files with 180 additions and 5 deletions

View file

@ -0,0 +1,14 @@
#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@mptcpovervpn[-1]
add ucitrack mptcpovervpn
set ucitrack.@mptcpovervpn[-1].init="mptcpovervpn"
commit ucitrack
EOF
if [ "$(uci -q get ucitrack.@network[-1].affects | grep mptcpovervpn)" = "" ]; then
uci -q batch <<-EOF >/dev/null
add_list ucitrack.@network[-1].affects="mptcpovervpn"
commit ucitrack
EOF
fi
exit 0