mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix on omr-tracker-ss
This commit is contained in:
parent
cdaeb812ad
commit
ef6acb7830
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ last=0
|
|||
nocontact=""
|
||||
uci -q set openmptcprouter.omr=router
|
||||
uci -q delete openmptcprouter.omr.shadowsocks=""
|
||||
get_ip
|
||||
_get_ip
|
||||
|
||||
while true; do
|
||||
host="${hosts%% *}"
|
||||
|
@ -64,7 +64,7 @@ while true; do
|
|||
/etc/init.d/shadowsocks-libev rules_up 2> /dev/null
|
||||
_get_ip
|
||||
fi
|
||||
[ "$(uci -q get openmptcprouter.omr.detected_public_ipv4)" = "" ] || ([ "$(uci -q get openmptcprouter.settings.disable_ipv6)" != "1" ] && [ "$(uci -q get openmptcprouter.omr.detected_public_ipv6)" = "" ]) && get_ip
|
||||
[ "$(uci -q get openmptcprouter.omr.detected_public_ipv4)" = "" ] || ([ "$(uci -q get openmptcprouter.settings.disable_ipv6)" != "1" ] && [ "$(uci -q get openmptcprouter.omr.detected_public_ipv6)" = "" ]) && _get_ip
|
||||
last=0
|
||||
else
|
||||
last=$((last + 1 ))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue