mirror of
https://github.com/seanwhe/xmrig-bash-scripts.git
synced 2024-12-18 05:41:34 +03:00
07a3b08664
a rough and ready version
22 lines
447 B
Bash
Executable File
22 lines
447 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Set get xmrig repository and version by sourcing our version file
|
|
. settings.sh
|
|
|
|
# Kill any current xmrig process
|
|
. stop.sh
|
|
|
|
# Get source and build by sourcing our build file
|
|
. build.sh
|
|
|
|
# Clean users contab
|
|
crontab -r $USER
|
|
|
|
# Source our start script to start process again in a screen
|
|
. start.sh
|
|
|
|
echo "####################################"
|
|
echo "# ALL DONE - UPDATE COMPLETE #"
|
|
echo "####################################"
|
|
|