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:
parent
9ca9cf26a3
commit
b50578d4a2
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue