mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Update public IP/proxy IP more often
This commit is contained in:
parent
d883e569b4
commit
fac5855bbe
4 changed files with 14 additions and 4 deletions
|
@ -225,6 +225,10 @@ _check_master() {
|
|||
fi
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set openmptcprouter.${name}.current='1'
|
||||
del openmptcprouter.omr.detected_ss_ipv4
|
||||
del openmptcprouter.omr.detected_public_ipv4
|
||||
del openmptcprouter.omr.detected_ss_ipv6
|
||||
del openmptcprouter.omr.detected_public_ipv6
|
||||
commit openmptcprouter
|
||||
EOF
|
||||
if [ "$count" -eq "0" ]; then
|
||||
|
@ -427,6 +431,10 @@ _check_backup() {
|
|||
fi
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set openmptcprouter.${name}.current='1'
|
||||
del openmptcprouter.omr.detected_ss_ipv4
|
||||
del openmptcprouter.omr.detected_public_ipv4
|
||||
del openmptcprouter.omr.detected_ss_ipv6
|
||||
del openmptcprouter.omr.detected_public_ipv6
|
||||
commit openmptcprouter
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue