Browse Source

Update easyinstall

S
PowerMX 5 years ago
parent
commit
020575fe25
1 changed files with 3 additions and 3 deletions
  1. 3 3
      easyinstall

+ 3 - 3
easyinstall

@@ -15,7 +15,7 @@ kill $(ps x |grep badvpn |grep -v grep |awk '"{'"'print $1'"'})
 killall badvpn-udpgw
 fi" > /bin/badvpn
 chmod +x /bin/badvpn
-if [ -f /usr/bin/badvpn-udpgw ]; then
+if [ -f /bin/badvpn-udpgw ]; then
 echo -e "\033[1;32mBadvpn ya esta instalado\033[0m"
 rm -rf easyinstall >/dev/null 2>/dev/null
 exit
@@ -24,8 +24,8 @@ clear
 fi
 echo -e "\033[1;31m           Instalador Badvpn\n\033[0m"
 echo -e "Descargando Badvpn"
-wget -O /usr/bin/badvpn-udpgw https://github.com/powermx/badvpn/blob/master/badvpn-udpgw?raw=true -o /dev/null
-chmod +x /usr/bin/badvpn-udpgw
+wget -O /bin/badvpn-udpgw https://github.com/powermx/badvpn/blob/master/badvpn-udpgw?raw=true /dev/null
+chmod +x /bin/badvpn-udpgw
 echo -e "\033[1;32m             Instalacion completa\033[0m" 
 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"