Update vast.sh

This commit is contained in:
Jozef Jaroščiak 2023-11-02 18:17:18 -04:00 committed by GitHub
parent 830e10eb69
commit f59f4cf08b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ echo " STARTING INSTALL "
echo "-------------------------" echo "-------------------------"
sudo apt update > /dev/null 2>&1 sudo apt update > /dev/null 2>&1
sudo apt upgrade > /dev/null 2>&1
echo "STEP 1 of 10: Completed Packages Update" echo "STEP 1 of 10: Completed Packages Update"
sudo apt -y install ocl-icd-opencl-dev > /dev/null 2>&1 sudo apt -y install ocl-icd-opencl-dev > /dev/null 2>&1
@ -20,15 +21,15 @@ echo "STEP 4 of 10: Installed cMake"
sudo apt -y install python3-pip > /dev/null 2>&1 sudo apt -y install python3-pip > /dev/null 2>&1
echo "STEP 5 of 10: Installed Python" echo "STEP 5 of 10: Installed Python"
git clone https://github.com/shanhaicoder/XENGPUMiner.git > /dev/null 2>&1 sudo git clone https://github.com/shanhaicoder/XENGPUMiner.git > /dev/null 2>&1
echo "STEP 6 of 10: Cloned https://github.com/shanhaicoder/XENGPUMiner.git" echo "STEP 6 of 10: Cloned https://github.com/shanhaicoder/XENGPUMiner.git"
cd XENGPUMiner cd XENGPUMiner
chmod +x build.sh > /dev/null 2>&1 sudo chmod +x build.sh > /dev/null 2>&1
./build.sh > /dev/null 2>&1 sudo ./build.sh > /dev/null 2>&1
echo "STEP 7 of 10: Permissions set!" echo "STEP 7 of 10: Permissions set!"
sed -i 's/account = 0x24691e54afafe2416a8252097c9ca67557271475/account = 0xca5F023af4F822353A563Ae6a3591bA2024495E8/g' config.conf > /dev/null 2>&1 sudo sed -i 's/account = 0x24691e54afafe2416a8252097c9ca67557271475/account = 0xca5F023af4F822353A563Ae6a3591bA2024495E8/g' config.conf > /dev/null 2>&1
echo "STEP 8 of 10: Replaced ETH address" echo "STEP 8 of 10: Replaced ETH address"
sudo pip install -U -r requirements.txt > /dev/null 2>&1 sudo pip install -U -r requirements.txt > /dev/null 2>&1