mirror of https://github.com/mack-a/v2ray-agent
feat(脚本): 修改删除时的内容
parent
a2f8e228c8
commit
5f1a87f8c2
10
install.sh
10
install.sh
|
@ -101,7 +101,12 @@ installTools(){
|
|||
echoContent skyBlue "检查、安装工具包:"
|
||||
|
||||
echoContent green " 更新中,等耐心等待,时间可能比较久"
|
||||
# if [[ "${release}" = "centos" ]]
|
||||
# then
|
||||
# yum-complete-transaction --cleanup-only
|
||||
# fi
|
||||
${upgrade} > /dev/null
|
||||
|
||||
rm -rf /var/run/yum.pid
|
||||
echoContent green "更新完毕"
|
||||
|
||||
|
@ -334,7 +339,7 @@ reInstallTLS(){
|
|||
}
|
||||
# V2Ray
|
||||
installV2Ray(){
|
||||
if [[ -z `find /tmp -name "v2ray*"` ]]
|
||||
if [[ -z `find /tmp -name "v2ray"` ]] && [[ -z `find /tmp -name "v2ctl"` ]]
|
||||
then
|
||||
if [[ -z `find /usr/bin/ -name "v2ray*"` ]]
|
||||
then
|
||||
|
@ -677,9 +682,10 @@ init(){
|
|||
installNginx
|
||||
elif [[ "${installStatus}" = "2" ]]
|
||||
then
|
||||
rm -rf /usr/bin/v2ray
|
||||
rm -rf /tmp/v2ray
|
||||
rm -rf /tmp/tls
|
||||
rm -rf /etc/v2ray/usersv2ray.conf
|
||||
rm -rf /etc/v2ray
|
||||
installTools
|
||||
installNginx
|
||||
elif [[ "${installStatus}" = "3" ]]
|
||||
|
|
|
@ -386,6 +386,29 @@ mobile.xxx.com. 0 IN A 198.41.214.162
|
|||
104.16.208.133
|
||||
```
|
||||
|
||||
- www.sonymusic.com 104.18.18.193
|
||||
|
||||
- www.sofi.com 104.16.190.103
|
||||
- www.allsaints.com 104.16.34.40
|
||||
- corp.sureprep.com 192.124.249.15
|
||||
- icook.tw 104.17.46.56
|
||||
- raisedonors.com 104.16.69.135
|
||||
- poki.com 104.16.208.71
|
||||
- www.thredup.com 104.18.22.236
|
||||
- zerodha.com 104.16.214.247
|
||||
- www.netohq.com 104.18.18.143
|
||||
- www.luckyvitamin.com 104.16.210.231
|
||||
- www.quintype.com 104.18.94.198
|
||||
- www.di.fm 104.16.9.105
|
||||
- www.autoanything.com 104.16.18.99
|
||||
- www.glossier.com 104.18.182.69
|
||||
- flo.health 104.18.23.89
|
||||
- www.lastminute.com 104.18.143.27
|
||||
- pippa.io 104.18.82.49
|
||||
- angel.co 104.18.24.39
|
||||
- www.gobear.com 104.18.72.52
|
||||
|
||||
|
||||
## 5.自动化脚本测试线路【开发中】
|
||||
|
||||
## 6.本人使用
|
||||
|
@ -408,5 +431,4 @@ mobile.xxx.com. 0 IN A 198.41.214.162
|
|||
- URL Path Value填写翻墙的path
|
||||
- action则为Allow
|
||||
|
||||
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/firewall_settings.png" width=400>
|
||||
|
||||
<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/firewall_settings.png" width=400>
|
Loading…
Reference in New Issue