Ok, had a terriffic day coding!
The automatic profile generation code is finished, and works great! (You can create your own profiles of course, but smarcoin creates an automatic one by default so you can get up and running faster)
Also, the install script is pretty much finished. Here is a snippet of code for those wondering which pools will be supported "out of the box" (of course, you can add your own pools or edit any of these through the interface, this is just a convenience feature having them already defined in the database)
# Populate the database with default pools
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('DeepDit','deepbit.net',NULL,8332,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('Ditcoin.cz (slush)','mining.bitcoin.cz',NULL,8332,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('BTCGuild','btcguild.com',NULL,8332,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('BTCMine','btcmine.com',NULL,8332,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('Bitcoins.lc','bitcoins.lc',NULL,8080,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('SwePool','swepool.net',NULL,8337,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('Continuum','continuumpool.com',NULL,8332,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('MineCo','mineco.in',NULL,3000,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('Eligius','http://mining.eligius.st',NULL,8337,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('CoinMiner','173.0.52.116',NULL,8347,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('ZABitcoin','mine.zabitcoin.co.za',NULL,8332,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('BitClockers','pool.bitclockers.com',NULL,8332,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('MtRed','mtred.com',NULL,8337,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('SimpleCoin','simplecoin.us',NULL,8337,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('Ozco','http://ozco.in',NULL,8332,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('EclipseMC','us.eclipsemc.com',NULL,8332,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('BitP','pool.bitp.it',NULL,8334,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('BitcoinPool','bitcoinpool.com',NULL,8334,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('EcoCoin','ecocoin.org',NULL,8332,60,0);"
RunSQL "$Q"
Q="INSERT INTO pool (name,server,alternateServer,port,timeout,disabled) VALUES ('BitLottoPool','bitcoinpool.com',NULL,8337,60,0);"
RunSQL "$Q"
If anyone knows of any other pools, sees any errors, or knows of any "alternateServer" addresses (backup server addresses), please let me know.
With this complete, there are only 2 other things on my list to finish before this goes out to testers for a quick test!
Tomorrow, I start the code to TRY to automatically detect any installed miners and add them to the database as well.... If things go correctly, you should only have to add a couple of worker accounts, and be on your way!