How complicated do you want this function to be? I've whipped up a very simple C program that meets my requirements. I am looking to extend it a little and make it more flexible, but I am wondering what people require. I'm thinking something like.
Environment variable for database password and access. and then program "select x,y,z from a.b where mac='0004'" and it returns a tab seperated list like x\ty\tz\t for the first row returned, of which there should be one. you can then use chop and split to mash it up into the required setup. If this is or isn't sufficient, I would like comments. it returns non 0 on error so you can test to see if something went wrong and die. Currently it's written for mysql, but I will be developing a postgresql version too. The program is statically linked, and I've put it in the linuxaux/bin directory and run it successfully from there for me. Only problem now for the web interface is that I would like to be able set the boot sequence from the db, not from the files. But that's another story. Regards Russell Smith On Sat, 29 May 2004 04:31 am, Teresa Jeremy wrote: > Hi Patrick, > > Do you plan to build a version of unattended (Linux version) that includes > the Perl DBI module by default? > > I'd liked to save and retrieve client configuration information from a > mysql database. > > Thx > TJ > > > > Need a new email address that people can remember > Check out the new EudoraMail at > http://www.eudoramail.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > unattended-info mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/unattended-info ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info
