How do you start oneBash script. I see it automatically starts when you open a terminal.
Is there a specific reason it works like this? How plausible would it be for me to change it so that the bash file is called on startup through a cron or rc.local call? That way it can easily be converted to run in a screen and is not dependent on having a terminal window open. I can't get it working via SSH as your post describes here: https://bitcointalksearch.org/topic/mining-os-nvoc-1854250.
I know I linked it earlier, but something along these lines: http://www.cryptobadger.com/2017/04/build-ethereum-mining-rig-linux/
Please do not make any changes on my account. If you can just point me in the right direction on your current startup method I can figure it out.
Your cron job contains the miner, only start your miner script after you found that top is running (if pgrep top), that way you know all the OC commands are processed.