|
@@ -42,7 +42,7 @@ cd cgminer-lketc
|
|
|
make
|
|
|
cat <<'EOF'>> go.sh
|
|
|
#!/bin/bash
|
|
|
-./cgminer --scrypt -o stratum+tcp://hub.miningpoolhub.com:20523 -u wareck.1 -p x --lketc-clock 280 --zeus-chips 6 --zeus-clock 328
|
|
|
+./cgminer --scrypt -o stratum+tcp://scrypt.eu.mine.zpool.ca:3433 -u D7zsHbdJvoL17mYWXPTDt3XfxNMwgoxuYt -p c=XVG,zap=XVG --lketc-clock 280 --zeus-chips 6 --zeus-clock 328
|
|
|
EOF
|
|
|
chmod +x go.sh
|
|
|
cd ..
|
|
@@ -54,7 +54,7 @@ cd dualminer-cgminer
|
|
|
make
|
|
|
cat <<'EOF'>> go.sh
|
|
|
#!/bin/bash
|
|
|
-./cgminer --scrypt -o stratum+tcp://b3v.f2pool.com:1328 -u 1EjmJRoZ5UL7Bd7ujpRFRLK7g1oQt78nSR.Stick -p x
|
|
|
+./cgminer --scrypt -o stratum+tcp://scrypt.eu.mine.zpool.ca:3433 -u D7zsHbdJvoL17mYWXPTDt3XfxNMwgoxuYt -p c=XVG,zap=XV
|
|
|
EOF
|
|
|
chmod +x go.sh
|
|
|
cd ..
|
|
@@ -62,11 +62,11 @@ cd ..
|
|
|
echo ""
|
|
|
cd bfgminer-ftb
|
|
|
./autogen.sh
|
|
|
-./configure --enable-futurebit --enable-scrypt --disable-gridseed --disable-zeus --disable-dualminer
|
|
|
+./configure --enable-scrypt --enable-futurebit --disable-gridseed --disable-zeusminer --disable-dualminer
|
|
|
make
|
|
|
cat <<'EOF'>> go.sh
|
|
|
#!/bin/bash
|
|
|
-./bfgminer --scrypt -o stratum+tcp://hub.miningpoolhub.com:20523 -u wareck.1 -p x -S ALL --set MLD:clock=600
|
|
|
+./bfgminer --scrypt -o stratum+tcp://scrypt.eu.mine.zpool.ca:3433/#skipcbcheck -u D7zsHbdJvoL17mYWXPTDt3XfxNMwgoxuYt -p c=XVG,zap=XVG -S all --set MLD:clock=600 --set ZUS:clock=328
|
|
|
EOF
|
|
|
chmod +x go.sh
|
|
|
cd ..
|
|
@@ -78,7 +78,7 @@ cd bfgminer
|
|
|
make
|
|
|
cat <<'EOF'>> go.sh
|
|
|
#!/bin/bash
|
|
|
-./bfgminer --scrypt -o stratum+tcp://hub.miningpoolhub.com:20523 -u wareck.1 -p x -S ALL --set MLD:clock=600
|
|
|
+./bfgminer --scrypt -o stratum+tcp://scrypt.eu.mine.zpool.ca:3433/#skipcbcheck -u D7zsHbdJvoL17mYWXPTDt3XfxNMwgoxuYt -p c=XVG,zap=XVG -S all --set MLD:clock=600 --set ZUS:clock=328
|
|
|
EOF
|
|
|
chmod +x go.sh
|
|
|
cd ..
|
|
@@ -103,4 +103,11 @@ chmod +x go.sh
|
|
|
cd ..
|
|
|
|
|
|
echo ""
|
|
|
+if ! grep "bfgminer-ftb" /etc/rc.local >/dev/null
|
|
|
+then
|
|
|
+sudo bash -c 'sed -i -e "s/exit 0//g" /etc/rc.local'
|
|
|
+sudo bash -c 'echo "su - pi -c 'screen -dmS miner /home/pi/miner_base/bfgminer-ftb/bfgminer --scrypt -o stratum+tcp://scrypt.eu.mine.zpool.ca:3433/#skipcbcheck -u D7zsHbdJvoL17mYWXPTDt3XfxNMwgoxuYt -p c=XVG,zap=XVG -S all --set MLD:clock=600'" >>/etc/rc.local'
|
|
|
+sudo bash -c 'echo "exit 0" >>/etc/rc.local'
|
|
|
+fi
|
|
|
|
|
|
+echo ""
|