mirror of
https://github.com/seanwhe/xmrig-bash-scripts.git
synced 2024-11-24 14:13:33 +03:00
22 lines
447 B
Bash
22 lines
447 B
Bash
|
#!/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 "####################################"
|
||
|
|