mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add check on VPS and IP timeout config in web interface and add loop detection
This commit is contained in:
parent
6702b125ca
commit
4c56f5402f
10 changed files with 111 additions and 12 deletions
|
@ -88,13 +88,13 @@ if [ "$(uci -q get openmptcprouter.settings.check_ipv6_website)" = "" ]; then
|
|||
fi
|
||||
if [ "$(uci -q get openmptcprouter.settings.status_vps_timeout)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set openmptcprouter.settings.status_vps_timeout=2
|
||||
set openmptcprouter.settings.status_vps_timeout=1
|
||||
commit openmptcprouter
|
||||
EOF
|
||||
fi
|
||||
if [ "$(uci -q get openmptcprouter.settings.status_getip_timeout)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set openmptcprouter.settings.status_getip_timeout=2
|
||||
set openmptcprouter.settings.status_getip_timeout=1
|
||||
commit openmptcprouter
|
||||
EOF
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue