if I don't use AMDOverdriveCtrl - I get the following message after passing `aticonfig --od-setclocks=985,285 --adapter=all`:
ERROR - Set clocks failed for Adapter 1 - ATI Radeon HD 5800 Series
Please check that input values were valid[\code]
So AMDOverdriveCtrl must be doing something...And it's not `aticonfig --od-enable --adapter=all` ... that didn't change anything.
It would be good to know how to script Screen anyway - for general Linux education.
You don't want AMDOverdriveCtrl commands running in Screen. Screen is for running commands that KEEP RUNNING and you then want to detach from them, but keep them running. The AMDOverdriveCtrl commands just run and exit. Screen isn't necessary.
However, here is an example of running something in screen:
/usr/bin/screen -dmS gpu0 /usr/local/miners/startminer.sh 0
That will execute the script "startminer.sh" and pass it a "0" parameter. It will name the screen "gpu0". It will immediately detach from the session, so on the command line it won't look like anything happened.
To attach to the screen you'd type:
screen -r gpu0
To detach from the screen again, you'd type CNTRL-A, D