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 2021-04-08 01:10:08 +08:00
commit 40979acdb6
4 changed files with 24 additions and 4 deletions

View file

@ -7,4 +7,11 @@ if [ "$(uci -q get upnpd.config.external_ifac)" != "omrvpn" ]; then
EOF
fi
if [ "$(uci -q get upnpd.@perm_rule[0].ext_ports)" = "1024-65535" ]; then
uci -q batch <<-EOF >/dev/null
set upnpd.@perm_rule[0].ext_ports='1024-64999'
commit upnpd
EOF
fi
exit 0