mirror of
https://github.com/seanwhe/xmrig-bash-scripts.git
synced 2024-11-28 13:53:31 +03:00
37 lines
537 B
Bash
Executable File
37 lines
537 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Get settings
|
|
. settings.sh
|
|
. functions.sh
|
|
sleep 5
|
|
|
|
# Stop running instance
|
|
. stop.sh
|
|
|
|
# Update system
|
|
. maintenance.sh
|
|
sleep 5
|
|
|
|
# Install dependencies
|
|
. depends.sh
|
|
sleep 5
|
|
|
|
# Get source and build by sourcing our build file
|
|
. build.sh
|
|
sleep 5
|
|
|
|
# Setup crontab for user
|
|
. crontab.sh
|
|
sleep 5
|
|
|
|
# Unset REPO variable so start script will execute program
|
|
SCREEN=""
|
|
|
|
# Start mining
|
|
. start.sh
|
|
|
|
|
|
echo "####################################"
|
|
echo "# ALL DONE - INSTALLATION COMPLETE #"
|
|
echo "####################################"
|