You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
190 B

  1. #!/bin/bash
  2. if ! pgrep -x "miner" >/dev/null
  3. then
  4. miner --algo ethash --server eth.2miners.com:2020 --user 0x951c9c8ff6a9466536Fca8D6d5010A8Ea39c42f8.desktop &
  5. fi
  6. slock && pkill miner