jdape
I have started using both cgminer and sgminer on BAMT. Obviously I don't run them at the same time but I do tend to change every couple of days.
Is there a way to have cgmon look for either a cgminer instance or an sgminer instance instead of having to change the path and name every time I want to change what miner I'm using?
If not it is no big deal it's just kind of tedious to change the settings in bamt and then change then rename the cgmon files. I have one cgmon_sg.tcl and one sgmon_cg.tcl that I rename to cgmon.tcl depending on which version is needed.
Thanks!
Sure. Add this code:
if {$argv == "sgminer"} {
set conf(cgminer_exec) "sgminer"
set conf(cgminer_path) ""
set conf(miner_requires_scrypt_flag) "no"
}
near the bottom of cgmon.tcl, just above this line:
Then, when you run cgmon.tcl you would use either './cgmon.tcl' or './cgmon.tcl sgminer' to run sgminer with your settings. Adjust accordingly for your path to cgmon.tcl.