Added: out script
This commit is contained in:
parent
4e5a6c5816
commit
ca7c7bbb9a
|
|
@ -1,6 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
if [ $# -eq 0 ] || [ "$1" == "start" ]; then
|
||||||
export https_proxy=http://127.0.0.1:3446
|
export https_proxy=http://127.0.0.1:3446
|
||||||
export http_proxy=http://127.0.0.1:3446
|
export http_proxy=http://127.0.0.1:3446
|
||||||
export all_proxy=socks5://127.0.0.1:3446
|
export all_proxy=socks5://127.0.0.1:3446
|
||||||
|
elif [ "$1" == "stop" ]; then
|
||||||
|
unset https_proxy
|
||||||
|
unset http_proxy
|
||||||
|
unset all_proxy
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue