Post
Topic
Board Mining (Altcoins)
Re: [OS] nvOC easy-to-use Linux Nvidia Mining
by
machiavellious
on 25/05/2017, 05:44:33 UTC

to launch oneBash with screen you would edit 2unix to contain the following:

Code:
#!/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.

Thank you so much.  This works for starting screen, but the onebash script keeps creating new instances...  
I thought I would be able to fix this, but I couldn't figure out how you're making onebash reinitialize.
How are you starting onebash on terminal startup? I checked ~/.bashrc and /etc/bash.bashrc, I might have missed it, but didn't seem to be in there.  

Thanks again, you're enabling me to learn a lot.