挖矿肯定是会挖矿,每个版本都会有挖矿的。

This commit is contained in:
233boy
2018-03-18 22:47:31 +08:00
parent b11e63b180
commit ee8536c769
2 changed files with 17 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ none='\e[0m'
# Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
_version="v1.53"
_version="v1.54"
cmd="apt-get"
@@ -1838,7 +1838,7 @@ change_proxy_site_config() {
}
domain_check() {
# test_domain=$(dig $new_domain +short)
test_domain=$(ping $new_domain -c 1 | grep -oP -m1 "([\d.]+){3}\d")
test_domain=$(ping $new_domain -c 1 | grep -oP -m1 "([\d.]+){4}\d")
if [[ $test_domain != $ip ]]; then
echo
echo -e "$red 检测域名解析错误....$none"
@@ -2583,6 +2583,8 @@ update_v2ray() {
echo
echo -e " $green 更新成功啦...当前 V2Ray 版本: ${cyan}$v2ray_latest_ver$none"
echo
echo -e " $yellow 温馨提示: 为了避免出现莫名其妙的问题...所以客户端 V2Ray 版本最好也是: ${cyan}$v2ray_latest_ver$none"
echo
rm -rf /tmp/v2ray
else
echo
@@ -3638,6 +3640,11 @@ un | uninstall)
233 | 2333 | 233boy | 233blog | 233blog.com)
_boom_
;;
v | version)
echo
echo -e " 当前 V2Ray 版本: ${green}$v2ray_ver$none / 当前 V2Ray 管理脚本版本: ${cyan}$_version$none"
echo
;;
bbr)
other
;;