#!/bin/bash echo "Updating apt-get..." apt-get update > /dev/null 2>&1 echo "Complete." echo "Upgrading apt-get..." apt-get upgrade -y > /dev/null 2>&1 echo "Complete." echo "Installing git..." apt-get install git -y > /dev/null 2>&1 echo "Complete." echo "Installing required packages to compile ccminer..." apt-get install libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential -y > /dev/null 2>&1 echo "Complete." echo "Downloading ccminer source..." git clone --single-branch -b ARM https://github.com/monkins1010/ccminer.git > /dev/null 2>&1 echo "Complete." cd ccminer > /dev/null 2>&1 echo "Beginning the compiling process..." echo "Running autogen" ./autogen.sh > /dev/null 2>&1 echo "Complete." echo "Running configure" ./configure > /dev/null 2>&1 echo "Complete." echo "Compiling ccminer..." ./build.sh > /dev/null 2>&1 echo "ccminer has been compiled!" echo "What do you want this worker to be named?" read miner_name cat > start.sh <