mirror of
https://github.com/seanwhe/xmrig-bash-scripts.git
synced 2024-12-18 13:51:32 +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 "####################################"
|
||
|
|