mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update CFwarp1.sh
This commit is contained in:
parent
67e064288b
commit
4feda3fa58
|
@ -1,8 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
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
|
||||||
wpygV="22.8.25 V 0.1"
|
|
||||||
remoteV=$(wget -qO- https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh | sed -n 4p | cut -d '"' -f 2)
|
|
||||||
red='\033[0;31m'
|
red='\033[0;31m'
|
||||||
bblue='\033[0;34m'
|
bblue='\033[0;34m'
|
||||||
yellow='\033[0;33m'
|
yellow='\033[0;33m'
|
||||||
|
@ -18,6 +16,8 @@ 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