Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. echo ">>>> Script by Raz Sen :) <<<<<"
  2. echo ">>> Claymore Zcash Update <<<"
  3.  
  4. if [ "$(id -u)" != "0" ]; then
  5. echo "Debe ser ejecutado como root"
  6. echo "Ingrese su Passworsd root e intenta ejecutar de nuevo este script"
  7. su
  8. exit 1
  9. fi
  10.  
  11. if [ ! -f "/home/ethos/Downloads/czupdate.tar.gz" ]; then
  12. echo "/home/ethos/Downloads/czupdate.tar.gz No Existe"
  13. echo "Descargue Claymore-zcash y renombre como czupdate.tar.gz"
  14. echo "y luego intente ejecutar de nuevo este script"
  15. exit 1
  16. else
  17. echo "claymore-zcash si existe :)"
  18. disallow && minestop
  19. cp -f "/home/ethos/Downloads/czupdate.tar.gz" "/opt/miners/claymore-zcash-latest.tar.gz"
  20. cd /opt/miners/
  21. echo "Descomprimiendo archivo"
  22. tar -xvf claymore-zcash-latest.tar.gz -C /opt/miners/claymore-zcash --strip-components=1
  23. echo "Descomprimido"
  24. chown -R ethos:ethos /opt/miners/claymore-zcash/*
  25. chmod +x /opt/miners/claymore-zcash/claymore-zcash && allow
  26. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement