pull/29/merge
233boy 7 years ago
parent a5a67f68b3
commit 01a3083312
  1. 2
      install.sh
  2. 7
      v2ray.sh

@ -1281,7 +1281,7 @@ config() {
backup_config() {
sed -i "18s/=1/=$v2ray_transport_opt/; 21s/=2333/=$v2ray_port/; 24s/=$old_id/=$uuid/" $backup
if [ $v2ray_transport_opt -ge 9 && $v2ray_transport_opt -le 15 ]; then
if [[ $v2ray_transport_opt -ge 9 && $v2ray_transport_opt -le 15 ]]; then
sed -i "30s/=10000/=$v2ray_dynamic_port_start_input/; 33s/=20000/=$v2ray_dynamic_port_end_input/" $backup
fi
if [ $shadowsocks ]; then

@ -10,7 +10,7 @@ none='\e[0m'
# Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
_version="v2.19"
_version="v2.20"
cmd="apt-get"
@ -3608,7 +3608,10 @@ un | uninstall)
;;
reinstall)
uninstall_v2ray
[[ $is_uninstall_v2ray ]] && bash <(curl -s -L https://233blog.com/v2ray.sh)
if [[ $is_uninstall_v2ray ]]; then
cd; cd - >/dev/null 2>&1
bash <(curl -s -L https://233blog.com/v2ray.sh)
fi
;;
233 | 2333 | 233boy | 233blog | 233blog.com)
_boom_

Loading…
Cancel
Save