Last active
September 25, 2019 14:19
-
-
Save rigamp/cbbd81dc38d6dc680abc168bb7c85a71 to your computer and use it in GitHub Desktop.
Update Hive TT-Miner to 3.0.6 Beta 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
DIRECTORY=/hive/miners/tt-miner/3.0.6 | |
if [ -d "$DIRECTORY" ]; then | |
cp -r "$DIRECTORY" /hive/miners/tt-miner/back-3.0.6 | |
cd "$DIRECTORY" | |
mv Algos Algos.back | |
cd /home/user | |
mkdir tt-miner | |
cd tt-miner | |
wget https://tradeproject.de/download/Miner/TT-Miner-3.0.6.tar.xz | |
tar -xf TT-Miner-3.0.6.tar.xz | |
cp TT-Miner "$DIRECTORY" | |
cp TT-SubSystem.so "$DIRECTORY" | |
cp -r Algos "$DIRECTORY" | |
chmod a+x "$DIRECTORY"/TT-Miner | |
echo "TT-Miner 3.0.6 installed." | |
else | |
echo "tt-miner directory not found. Please run flightsheet to install 3.0.6 Beta first." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment