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.
should have thought of that
half awake scripting is almost as dangerous a drunk scripting O.o