Update vast8.sh

This commit is contained in:
Jozef Jaroščiak 2023-10-25 19:03:44 -04:00 committed by GitHub
parent 918a7ee1d5
commit 1042bf1fe5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,41 +23,22 @@ chmod +x build.sh > /dev/null 2>&1
./build.sh > /dev/null 2>&1
echo "STEP 7 of 10: Permissions set!"
# Update the configuration file
sed -i 's/account = 0x24691e54afafe2416a8252097c9ca67557271475/account = 0xca5F023af4F822353A563Ae6a3591bA2024495E8/g' config.conf > /dev/null 2>&1
echo "STEP 8 of 10: Replaced ETH address"
# Install Python requirements
sudo pip install -U -r requirements.txt > /dev/null 2>&1
echo "STEP 9 of 10: Installed Python"
STEP 10 of 10:
echo "STEP 10 of 10: Starting Miner & GPU"
sudo nohup python3 miner.py --gpu=true > miner.log 2>&1 &
echo " - Started MINER.PY"
sudo nohup ./xengpuminer -d1 > xengpuminer-1.log 2>&1 &
echo " - Started GPU 1"
sudo nohup ./xengpuminer -d2 > xengpuminer-2.log 2>&1 &
echo " - Started GPU 2"
sudo nohup ./xengpuminer -d3 > xengpuminer-3.log 2>&1 &
echo " - Started GPU 3"
sudo nohup ./xengpuminer -d4 > xengpuminer-4.log 2>&1 &
echo " - Started GPU 4"
sudo nohup ./xengpuminer -d5 > xengpuminer-5.log 2>&1 &
echo " - Started GPU 5"
sudo nohup ./xengpuminer -d6 > xengpuminer-6.log 2>&1 &
echo " - Started GPU 6"
sudo nohup ./xengpuminer -d7 > xengpuminer-7.log 2>&1 &
echo " - Started GPU 7"
sudo nohup ./xengpuminer -d0 > xengpuminer-0.log 2>&1 &
echo " - Started GPU 8"
sudo nohup ./xengpuminer -d1 > xengpuminer-1.log 2>&1 &
sudo nohup ./xengpuminer -d2 > xengpuminer-2.log 2>&1 &
sudo nohup ./xengpuminer -d3 > xengpuminer-3.log 2>&1 &
sudo nohup ./xengpuminer -d4 > xengpuminer-4.log 2>&1 &
sudo nohup ./xengpuminer -d5 > xengpuminer-5.log 2>&1 &
sudo nohup ./xengpuminer -d6 > xengpuminer-6.log 2>&1 &
sudo nohup ./xengpuminer -d7 > xengpuminer-7.log 2>&1 &
echo "------------------------"
echo " MINING XENBLOCKS "