mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-06 11:36:43 +03:00
Fix check work opera-proxy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user