mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update 661.sh
This commit is contained in:
parent
53e111987f
commit
f8decf6717
4
661.sh
4
661.sh
|
@ -127,9 +127,9 @@ stty $SAVEDSTTY
|
||||||
|
|
||||||
point(){
|
point(){
|
||||||
checkpt(){
|
checkpt(){
|
||||||
|
mkdir -p /root/warpip
|
||||||
if [[ ! -f '/root/warpip/result.csv' ]]; then
|
if [[ ! -f '/root/warpip/result.csv' ]]; then
|
||||||
cpujg
|
cpujg
|
||||||
mkdir -p /root/warpip
|
|
||||||
v4v6
|
v4v6
|
||||||
if [[ -z $v4 ]]; then
|
if [[ -z $v4 ]]; then
|
||||||
wget -qN https://gitlab.com/rwkgyg/CFwarp/raw/main/point/ip6.txt
|
wget -qN https://gitlab.com/rwkgyg/CFwarp/raw/main/point/ip6.txt
|
||||||
|
@ -325,8 +325,10 @@ curl https://pkg.cloudflareclient.com/pubkey.gpg | gpg --yes --dearmor --output
|
||||||
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] http://pkg.cloudflareclient.com/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/cloudflare-client.list
|
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] http://pkg.cloudflareclient.com/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/cloudflare-client.list
|
||||||
apt update;apt install cloudflare-warp -y
|
apt update;apt install cloudflare-warp -y
|
||||||
fi
|
fi
|
||||||
|
point
|
||||||
warp-cli --accept-tos register >/dev/null 2>&1 && sleep 2
|
warp-cli --accept-tos register >/dev/null 2>&1 && sleep 2
|
||||||
warp-cli --accept-tos set-mode proxy >/dev/null 2>&1
|
warp-cli --accept-tos set-mode proxy >/dev/null 2>&1
|
||||||
|
warp-cli --accept-tos set-custom-endpoint "$endpoint" >/dev/null 2>&1
|
||||||
warp-cli --accept-tos enable-always-on >/dev/null 2>&1
|
warp-cli --accept-tos enable-always-on >/dev/null 2>&1
|
||||||
sleep 2 && ShowSOCKS5
|
sleep 2 && ShowSOCKS5
|
||||||
S5menu
|
S5menu
|
||||||
|
|
Loading…
Reference in New Issue