Browse Source

Update easyinstall

PowerMX 4 years ago
parent
commit
75d2c55c11
1 changed files with 0 additions and 16 deletions
  1. 0 16
      easyinstall

+ 0 - 16
easyinstall

@@ -1,21 +1,5 @@
 #!/bin/bash
 echo "#!/bin/bash
-if [ "'$1'" == menu ]
-echo -e "\033[1;37mComandos:\n\033[1;31mbadvpn start\033[1;37m para iniciar badvpn"
-echo -e "\033[1;31mbadvpn stop \033[1;37m para parar badvpn\033[0m"
-echo -e "\033[1;31mbadvpn uninstall \033[1;37m para desinstalar badvpn\033[0m"
-fi
-if [ "'$1'" == uninstall ]
-then
-badvpnpid="'$(ps x |grep badvpn |grep -v grep |awk '"{'"'print $1'"'})
-kill -9 "'"$badvpnpid" >/dev/null 2>/dev/null
-kill "$badvpnpid" > /dev/null 2>/dev/null''
-kill $(ps x |grep badvpn |grep -v grep |awk '"{'"'print $1'"'})
-killall badvpn-udpgw
-rm /bin/badvpn
-rm /bin/badvpn-udpgw
-echo 'Badvpn desinstalado del sistema'
-fi
 if [ "'$1'" == start ]
 then
 screen -dmS bad badvpn-udpgw --listen-addr 127.0.0.1:7300 --max-clients 1000 --max-connections-for-client 1000 --client-socket-sndbuf 5300000 --udp-mtu 9000