1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Fix vpn txqueuelen

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-11-16 15:59:19 +01:00
parent 9ca9cf26a3
commit b50578d4a2

View file

@ -24,6 +24,13 @@ if [ "$(uci -q get glorytun.vpn.localip)" = "10.0.0.2" ]; then
EOF
fi
if [ "$(uci -q get network.omrvpn.txqueuelen)" = "1000" ]; then
uci -q batch <<-EOF >/dev/null
set network.omrvpn.txqueuelen=100
commit network
EOF
fi
if [ "$(uci -q get openvpn.omr.proto)" != "tcp-client" ]; then
uci -q batch <<-EOF >/dev/null
set openvpn.omr=openvpn