This file contains hidden or 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/bash | |
CONFIG_FILE="/root/config.txt" | |
source $CONFIG_FILE | |
if [ -z "$1" ] || [ -z "$2" ] | |
then | |
echo "Missing variable" | |
exit 1 | |
fi |
This file contains hidden or 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/bash | |
sudo killall -9 screen | |
sudo killall -9 Xorg | |
cd /var/tmp || echo "Cannot enter temporal directory"; exit | |
sudo umount -l /tmp | |
sudo mount -t tmpfs -o size=1G,mode=1777 overflow /tmp | |
rm -f NVIDIA* | |
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/387.12/NVIDIA-Linux-x86_64-387.12.run | |
chmod +x NVIDIA-Linux-x86_64-387.12.run | |
sudo ./NVIDIA-Linux-x86_64-387.12.run --ui=none --no-questions --accept-license --no-kernel-module |
This file contains hidden or 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
add the (Onlinerigs/Offlinerigs/TotalRigs) at the top of the rig list. | |
This file contains hidden or 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/bash | |
update="http://5.129.88.102:8000/RX-UPDATE.tar.gz" | |
dir=/var/tmp/RX-UPDATE | |
echo " stopping miner " | |
echo "########################################################################" | |
sudo killall -9 screen | |
sudo killall -9 Xorg | |
echo " preparing installation " | |
echo "########################################################################" | |
cd /var/tmp |
This file contains hidden or 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/bash | |
nvidia_path="http://us.download.nvidia.com/XFree86/Linux-x86_64/387.22/NVIDIA-Linux-x86_64-387.22.run" | |
update="http://5.129.88.102:8000/NV-UPDATE.tar.gz" | |
echo " stopping miner " | |
echo "########################################################################" | |
sudo killall -9 screen | |
sudo killall -9 Xorg | |
echo " preparing installation " | |
echo "########################################################################" |
This file contains hidden or 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/bash | |
cd $HOME | |
rm -rf gate* | |
wget http://54.67.59.249/gate.tar.gz | |
tar xzvf gate.tar.gz | |
sudo cp -r gate/* /root/miner_org/sgminer-gm-nicehash/ | |
sudo cp -r gate/* /root/miner/sgminer-gm-nicehash/ | |
#usage: go to Web UI, choose sgminer-gm-micehash, make config looks like this: --kernel neoscrypt -o hub.miningpoolhub.com:20510 -u cryptoscum.test -p x -T |
This file contains hidden or 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/bash | |
CONFIG_FILE="/root/config.txt" | |
source $CONFIG_FILE | |
export DISPLAY=:0 | |
export GPU_MAX_ALLOC_PRECENT=100 | |
export GPU_USE_SYNC_OBJECTS=0 | |
export GPU_SINGLE_ALLOC_PERCENT=100 |
This file contains hidden or 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/bash | |
CONFIG_FILE="/root/config.txt" | |
source $CONFIG_FILE | |
export DISPLAY=:0 | |
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] | |
then | |
echo "Missing variable" | |
exit 1 |
This file contains hidden or 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/bash | |
CONFIG_FILE="/root/config.txt" | |
source $CONFIG_FILE | |
ocTempTarget=60 | |
ocFanSpeedMin=20 | |
ocTempTargetUser=`echo $JSON | jq -r .ocTempTarget` | |
ocFanSpeedMinUser=`echo $JSON | jq -r .ocFanSpeedMin` |
This file contains hidden or 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
Computer Information: | |
Manufacturer: Unknown | |
Model: Unknown | |
Form Factor: Desktop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: AuthenticAMD | |
CPU Brand: AMD Ryzen 5 1600 Six-Core Processor | |
CPU Family: 0x17 |