mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2026-04-28 11:39:58 +00:00
Fix check work opera-proxy
This commit is contained in:
parent
b9a6cbc481
commit
a04a84a364
2 changed files with 2 additions and 2 deletions
|
|
@ -793,7 +793,7 @@ fi
|
|||
isWorkOperaProxy=0
|
||||
printf "\033[32;1mCheck opera proxy...\033[0m\n"
|
||||
service sing-box restart
|
||||
sing-box tools fetch ifconfig.me -D /etc/sing-box/
|
||||
curl --proxy http://127.0.0.1:18080 ipinfo.io/ip
|
||||
if [ $? -eq 0 ]; then
|
||||
printf "\033[32;1mOpera proxy well work...\033[0m\n"
|
||||
isWorkOperaProxy=1
|
||||
|
|
|
|||
|
|
@ -824,7 +824,7 @@ fi
|
|||
isWorkOperaProxy=0
|
||||
printf "\033[32;1mCheck opera proxy...\033[0m\n"
|
||||
service sing-box restart
|
||||
sing-box tools fetch ifconfig.me -D /etc/sing-box/
|
||||
curl --proxy http://127.0.0.1:18080 ipinfo.io/ip
|
||||
if [ $? -eq 0 ]; then
|
||||
printf "\033[32;1mOpera proxy well work...\033[0m\n"
|
||||
isWorkOperaProxy=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue