Update
This commit is contained in:
parent
a85fbf4b2d
commit
82043d8f44
|
@ -58,9 +58,7 @@ fi
|
|||
|
||||
grep_text=$(ss -nlp | grep 9050)
|
||||
if [[ "$?" == 0 ]]; then
|
||||
export http_proxy="socks5://127.0.0.1:9050"
|
||||
export https_proxy="socks5://127.0.0.1:9050"
|
||||
export ftp_proxy="socks5://127.0.0.1:9050"
|
||||
export {http,https,ftp}_proxy="socks5://127.0.0.1:9050"
|
||||
fi
|
||||
|
||||
ping -c 1 1.1.1.1 > /dev/null
|
||||
|
|
Loading…
Reference in New Issue