diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-04-25 19:50:10 +0100 |
---|---|---|
committer | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-04-25 19:50:10 +0100 |
commit | d5b02fa0c351f5613358fdad3c4f7590860f937f (patch) | |
tree | aaa92b3b6082f3422f28ac8c9531eb548de78f33 /cli-miner.cpp | |
parent | 37065f425d73d7ad05acba835bb7501fa575dd5c (diff) | |
download | xmr-stak-d5b02fa0c351f5613358fdad3c4f7590860f937f.zip xmr-stak-d5b02fa0c351f5613358fdad3c4f7590860f937f.tar.gz |
CPU autoconfig
Diffstat (limited to 'cli-miner.cpp')
-rw-r--r-- | cli-miner.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli-miner.cpp b/cli-miner.cpp index deb462e..38fb720 100644 --- a/cli-miner.cpp +++ b/cli-miner.cpp @@ -26,6 +26,7 @@ #include "jconf.h" #include "console.h" #include "donate-level.h" +#include "autoAdjust.hpp" #ifndef CONF_NO_HTTPD # include "httpd.h" @@ -99,6 +100,14 @@ int main(int argc, char *argv[]) return 0; } + if(jconf::inst()->NeedsAutoconf()) + { + autoAdjust adjust; + adjust.printConfig(); + win_exit(); + return 0; + } + if (!minethd::self_test()) { win_exit(); |