Minepeon, the dirty donation OS!
I got some USBs yesterday, set up my hubs, got everything ready, plugged them all in, I see the pi happily booting, and then suddenly I see they are getting accepted shares. I get my IP, SSH in, and sure enough he's got it to start mining towards his "donation" accounts by default.
Fair enough, right? Why waste any clock cycles? Give the guy a few cents.
So I change the pools in cgminer to point at my own pools. Save, exit screen, and watch the hashrate increase at my own pool.
I then go to bed. I wake up in the morning and it's back to donating again. How could this be? I scan the system for the word "donate" and I find a file in cron.d/hourly which contains this:
include('miner.inc.php');
include('timezone.inc.php');
$donation = file_get_contents("/opt/minepeon/etc/donation");
$hour = date('H');
$configfile = "/opt/minepeon/etc/miner.conf";
$dontatefile = "/opt/minepeon/etc/miner.conf.donate";
$tempfile = "/opt/minepeon/etc/miner.conf.tmp";
echo $donation . $hour;
if ($donation > 0 and $hour == 00) {
copy($configfile, $tempfile);
copy($dontatefile, $configfile);
cgminer("restart", "");
sleep(5);
copy($tempfile, $configfile);
sleep($donation * 60);
cgminer("quit", "");
}
// stratum.ozco.in:3333 minepeon.donate donate
// stratum.btcguild.com:3333 MinePeon_Donate MinePeon_Donate
// pool.50btc.com:8332 Donate
So by default, the system will REMOVE your pool configuration and mine for the minepeon donation pools, and keep checking every hour to reset it back.
Minepeon took $5 from me, lesson learned. But I need to post this here to let you guys know.
I'm fairly certain the command
Will solve this problem.
If you look on his Wiki Page for MinePeon he makes no mention of this behavior or how to disable it.