v2_1.sh 894 B

12345678910111213141516171819202122232425262728293031323334
  1. #!/bin/sh
  2. clear
  3. echo "================================================"
  4. echo " 欢迎使用v2ray一键脚本 "
  5. echo "================================================"
  6. echo
  7. echo " 1 - 安装v2ray"
  8. echo " 提示:安装完请修改配置"
  9. echo
  10. echo " 2 - 卸载"
  11. echo " 提示:官方脚本卸载"
  12. echo
  13. read -p "请输入选项并回车:" install
  14. if [[ $install == 1 ]];then
  15. clear
  16. echo -e "安装类型:v2ray(v5.1.0)" ;
  17. wget -O v3.sh "https://jihulab.com/hepingcaizi/sao/-/raw/main/v3.sh";chmod +x v3.sh
  18. bash v3.sh
  19. exit;
  20. fi
  21. if [[ $install == 2 ]];then
  22. wget -O install-release.sh "https://jihulab.com/hepingcaizi/sao/-/raw/main/v2ray/install-release.sh";chmod +x install-release.sh
  23. bash install-release.sh --remove
  24. rm -rf /var/log/v2ray/ /usr/local/etc/v2ray
  25. exit;
  26. fi
  27. clear
  28. echo
  29. echo -e "\033[31m 脑袋被驴踢了吧?选都不会选?\033[0m "
  30. echo
  31. exit 0;