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

pull/445/head
233boy 7 years ago
parent b11e63b180
commit ee8536c769
  1. 11
      install.sh
  2. 11
      v2ray.sh

@ -666,7 +666,7 @@ domain_check() {
# $cmd install dnsutils -y # $cmd install dnsutils -y
# fi # fi
# test_domain=$(dig $domain +short) # test_domain=$(dig $domain +short)
test_domain=$(ping $domain -c 1 | grep -oP -m1 "([\d.]+){3}\d") test_domain=$(ping $domain -c 1 | grep -oP -m1 "([\d.]+){4}\d")
if [[ $test_domain != $ip ]]; then if [[ $test_domain != $ip ]]; then
echo echo
echo -e "$red 检测域名解析错误....$none" echo -e "$red 检测域名解析错误....$none"
@ -755,10 +755,15 @@ $domain {
install_v2ray() { install_v2ray() {
$cmd update -y $cmd update -y
# if [[ $cmd == "apt-get" ]]; then
# $cmd install -y lrzsz git zip unzip curl wget qrencode dnsutils
# else
# $cmd install -y lrzsz git zip unzip curl wget qrencode bind-utils iptables-services
# fi
if [[ $cmd == "apt-get" ]]; then if [[ $cmd == "apt-get" ]]; then
$cmd install -y lrzsz git zip unzip curl wget qrencode dnsutils $cmd install -y lrzsz git zip unzip curl wget qrencode
else else
$cmd install -y lrzsz git zip unzip curl wget qrencode bind-utils iptables-services $cmd install -y lrzsz git zip unzip curl wget qrencode iptables-services
fi fi
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

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

Loading…
Cancel
Save