mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update CFwarp1.sh
This commit is contained in:
parent
4feda3fa58
commit
faf95bad8f
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
wpygV="22.8.25 V 0.1"
|
||||||
|
remoteV=`wget -qO- https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh | sed -n 2p | cut -d '"' -f 2``
|
||||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
red='\033[0;31m'
|
red='\033[0;31m'
|
||||||
|
@ -16,8 +18,6 @@ rred(){ echo -e "\033[35m\033[01m$1\033[0m";}
|
||||||
readtp(){ read -t5 -n26 -p "$(yellow "$1")" $2;}
|
readtp(){ read -t5 -n26 -p "$(yellow "$1")" $2;}
|
||||||
readp(){ read -p "$(yellow "$1")" $2;}
|
readp(){ read -p "$(yellow "$1")" $2;}
|
||||||
[[ $EUID -ne 0 ]] && yellow "请以root模式运行脚本" && exit
|
[[ $EUID -ne 0 ]] && yellow "请以root模式运行脚本" && exit
|
||||||
wpygV="22.8.25 V 0.1"
|
|
||||||
remoteV=$(wget -qO- https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh | sed -n 18p | cut -d '"' -f 2)
|
|
||||||
|
|
||||||
start(){
|
start(){
|
||||||
yellow " 请稍等3秒……正在扫描vps类型及参数中……"
|
yellow " 请稍等3秒……正在扫描vps类型及参数中……"
|
||||||
|
|
Loading…
Reference in New Issue