mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update 1.sh
This commit is contained in:
parent
64dfd0bd97
commit
42e27f01b4
5
1.sh
5
1.sh
|
@ -32,6 +32,11 @@ else
|
|||
red "不支持你当前系统,请选择使用Ubuntu,Debian,Centos系统。" && exit
|
||||
fi
|
||||
|
||||
v4=$(curl -s4m6 ip.sb -k)
|
||||
if [ -z $v4 ]; then
|
||||
echo -e nameserver 2a01:4f8:c2c:123f::1 > /etc/resolv.conf
|
||||
fi
|
||||
|
||||
[[ $(type -P yum) ]] && yumapt='yum -y' || yumapt='apt -y'
|
||||
if [[ $release = Centos ]]; then
|
||||
if [[ ${vsid} =~ 8 ]]; then
|
||||
|
|
Loading…
Reference in New Issue