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

Merge branch 'test' into develop

This commit is contained in:
suyuan 2023-09-01 21:14:37 +08:00
commit 73b9afdc23
21 changed files with 218 additions and 488 deletions

View file

@ -149,16 +149,16 @@ if [ "$(uci -q get network.tun0.mtu)" = "1200" ] || [ -z "$(uci -q get network.t
uci -q batch <<-EOF >/dev/null
set network.tun0=device
set network.tun0.name='tun0'
set network.tun0.mtu=9000
set network.tun0.mtu=1500
commit network
EOF
fi
if [ "$(uci -q get openmptcprouter.settings.vpn)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set openmptcprouter.settings.vpn='glorytun_udp'
set glorytun-udp.vpn.enable='1'
commit glorytun-udp
set openmptcprouter.settings.vpn='glorytun_tcp'
set glorytun.vpn.enable='1'
commit glorytun
commit openmptcprouter
EOF
fi