xmrig-bash-scripts/install.sh
2019-07-27 12:00:13 +02:00

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 "####################################"