openvpn-menu.sh 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #!/bin/bash
  2. echo -e " "| lolcat
  3. echo -e "[*][*][*]======================================[*][*][*]"| lolcat
  4. echo -e " "| lolcat
  5. echo -e " AutoScript By GilaGajetm"| lolcat
  6. echo -e " "| lolcat
  7. echo -e " [0] Create TRIAL Account OpenVPN"| lolcat
  8. echo -e " [1] Create Account OpenVPN"| lolcat
  9. echo -e " [2] Delete Account OpenVPN"| lolcat
  10. echo -e " [3] Renew Account OpenVPN"| lolcat
  11. echo -e " [x] menu"| lolcat
  12. echo -e " "| lolcat
  13. read -p " Select From Options [1-3] : " wireguard
  14. echo -e " "| lolcat
  15. echo -e "[*][*][*]======================================[*][*][*]"| lolcat
  16. clear
  17. case $wireguard in
  18. 0)
  19. trial
  20. ;;
  21. 1)
  22. usernew
  23. ;;
  24. 2)
  25. deluser
  26. ;;
  27. 3)
  28. renew
  29. ;;
  30. x)
  31. menu
  32. ;;
  33. *)
  34. echo "Please enter an correct number"
  35. ;;
  36. esac