Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo ">>>> Script by Raz Sen :) <<<<<"
- echo ">>> Claymore Zcash Update <<<"
- if [ "$(id -u)" != "0" ]; then
- echo "Debe ser ejecutado como root"
- echo "Ingrese su Passworsd root e intenta ejecutar de nuevo este script"
- su
- exit 1
- fi
- if [ ! -f "/home/ethos/Downloads/czupdate.tar.gz" ]; then
- echo "/home/ethos/Downloads/czupdate.tar.gz No Existe"
- echo "Descargue Claymore-zcash y renombre como czupdate.tar.gz"
- echo "y luego intente ejecutar de nuevo este script"
- exit 1
- else
- echo "claymore-zcash si existe :)"
- disallow && minestop
- cp -f "/home/ethos/Downloads/czupdate.tar.gz" "/opt/miners/claymore-zcash-latest.tar.gz"
- cd /opt/miners/
- echo "Descomprimiendo archivo"
- tar -xvf claymore-zcash-latest.tar.gz -C /opt/miners/claymore-zcash --strip-components=1
- echo "Descomprimido"
- chown -R ethos:ethos /opt/miners/claymore-zcash/*
- chmod +x /opt/miners/claymore-zcash/claymore-zcash && allow
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement