Post
Topic
Board CPU/GPU Bitcoin mining hardware
Re: SmartCoin - A simple, robust mining system for Linux. [NOW WITH FAILOVER!]
by
Rob P.
on 17/07/2011, 22:25:21 UTC
If there are any commands that you want to have run automatically when smartcoin starts, create a file "init.sh" in the smartcoin directory.  Then you can add your commands that you want run on startup.

Admittedly undereducated about exactly what AMDOverdriveCtrl is doing to my overclock settings/performance - but I have to start it for both cards everytime I reboot my rig. How can I script this with a detached screen? I'm trying:

Code:
#!/bin/bash
screen -dmS ctl0 "AMDOverdriveCtrl -i 0"
screen -dmS ctl1 "AMDOverdriveCtrl -i 3"

Put the commands you want in init.sh in the smartcoin directory and they'll run every time you start smartcoin.