|
@@ -1,4 +1,5 @@
|
|
|
#!/bin/bash
|
|
|
+
|
|
|
sudo apt-get update -y
|
|
|
sudo apt-get upgrade -y
|
|
|
sudo apt-get install git build-essential autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev libjansson-dev libncurses5-dev -y
|
|
@@ -106,8 +107,6 @@ 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 -e "su - pi -c \047screen -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\047" >>/etc/rc.local'
|
|
|
sudo bash -c 'echo "exit 0" >>/etc/rc.local'
|
|
|
fi
|
|
|
-
|
|
|
-echo ""
|