mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix
This commit is contained in:
parent
217cdcf375
commit
c4ff65d012
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ log() {
|
|||
|
||||
get_ip() {
|
||||
uci -q set openmptcprouter.omr=router
|
||||
if [ "$(uci -q openmptcprouter.settings.external_check)" != "0" ]; then
|
||||
if [ "$(uci -q get openmptcprouter.settings.external_check)" != "0" ]; then
|
||||
uci -q set openmptcprouter.omr.detected_public_ipv4="$(wget -4 -qO- -T 3 http://ip.openmptcprouter.com)"
|
||||
uci -q set openmptcprouter.omr.detected_ss_ipv4=$(curl -s -4 --socks5 "${proxy}" --max-time 3 http://ip.openmptcprouter.com)
|
||||
if [ "$(uci -q get openmptcprouter.settings.disable_ipv6)" != "1" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue