Post
Topic
Board Mining software (miners)
Re: BFGMiner 3.3.0: modular ASIC/FPGA, GBT, Strtm, RPC, Lnx/OpnWrt/PPA/W64, BE Blade
by
jedimstr
on 17/10/2013, 00:38:01 UTC
Don't understand the #!/bin/bash

So I did a few web searches on 'linux startup batch' and thought maybe you were referring to .bashrc.
I was using /etc/rc.local for the autostart before.

I added your command line to the end of the .bashrc file but it doesn't start mining.
Didn't work in the rc.local file either.
Also when I SSH in and try screen -r bfgminer
I get
-bash: -screen: command not found

So, what am I doing wrong?

Not .bashrc , copy the stuff people posted above into a text file and name it something like:
bfgminerstart.sh
Then, chmod 777 bfgminerstart.sh to make it executable.
Then you can run the script with ./bfgminerstart.sh

Also it looks like you're going to have to install screen for your linux distro with that error msg.