mirror of
https://github.com/ilyakooo0/xmrig-bash-scripts.git
synced 2024-11-22 12:31:57 +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 "####################################"
|