@fullzero
I like to run ./2unix using screen so I can attach to the mining process from an ssh session. Do you know how I might be able to make this the default behaviour? I've tried calling screen before dos2unix is called, but I get the error saying screen must be run from a terminal. Is there an easy way to make the onebash startup script spawn into a terminal? or am I trying to reinvent the wheel here? I'm pretty new to bash.
Thanks again for everything, fullzero.
to launch oneBash with screen you would edit 2unix to contain the following:
#!/bin/bash
expect -c 'spawn sudo dos2unix /media/m1/1263-A96E/oneBash
expect "*password*:"
send "miner1\r" '
sleep 6
expect -c 'spawn sudo ldconfig /usr/local/cuda/lib64
expect "*password*:"
send "miner1\r" '
sleep 6
screen -m -t name_of_your_window bash '/media/m1/1263-A96E/oneBash'
Let me know how this goes.
Edit: for other members to install screen press f12 and rightclick to open a new tab if guake terminal is cpumining
then enter:
sudo apt install screen
press enter
then enter:
miner1