Please help convert this batch file to Linux -
I thought about not looping and just running the script with cron every 10 mins or so but what decided against that as I will miss the actual pool switches a lot
All this is unnecessary if I could just install a version of SGminer for Linux that includes skein. The only one I can find is the very old one by MPH and that wont compile on my Ubuntu 16.04 64 bit linux boxes.
Just looking for a way to loop through ports using Linux and I can't figure it out
:start
ethminer --farm-retries 0 -G -S us-east1.ethash-hub.miningpoolhub.com:12020 -O username.workername:x -FS exit
sgminer --no-retry -k groestlcoin -o stratum+tcp://hub.miningpoolhub.com:12004 -u username.workername -p x
sgminer --no-retry -k myriadcoin-groestl -o stratum+tcp://hub.miningpoolhub.com:12005 -u username.workername -p x
sgminer --no-retry -k neoscrypt -o stratum+tcp://hub.miningpoolhub.com:12012 -u username.workername -p x
cgminer --no-retry -k skeincoin -o stratum+tcp://hub.miningpoolhub.com:12016 -u username.workername -p x
sgminer --no-retry -k lyra2rev2 -o stratum+tcp://hub.miningpoolhub.com:12018 -u username.workername -p x
timeout 1
goto start
So far I have this Please edit this part for me if you know how (I will add correct paths later)
#!/bin/bash
./ethminer --farm-retries 0 -G -S us-east1.ethash-hub.miningpoolhub.com:12020 -O username.workername:x -FS exit
./sgminer --no-retry -k groestlcoin -o stratum+tcp://hub.miningpoolhub.com:12004 -u username.workername -p x
./sgminer --no-retry -k myriadcoin-groestl -o stratum+tcp://hub.miningpoolhub.com:12005 -u username.workername -p x
./sgminer --no-retry -k neoscrypt -o stratum+tcp://hub.miningpoolhub.com:12012 -u username.workername -p x
./cgminer --skein -o stratum+tcp://hub.miningpoolhub.com:12016 -u username.workername -p x --intensity 22
./sgminer --no-retry -k lyra2rev2 -o stratum+tcp://hub.miningpoolhub.com:12018 -u username.workername -p x