From: Jamie C. <jca...@we...> - 2010-03-12 07:11:31
|
Sorry, no... however, you can access the webmin API from a command line perl script, if you are familiar with the language. Paul Gear <pa...@ge...> wrote: >Hi folks, > >I have a DHCP server that i manage through Webmin, and i'd like to >bulk-add entries to a particular subnet. Is there a way to access this >from a bash script? > >Thanks, >Paul > > >------------------------------------------------------------------------------ >Download Intel® Parallel Studio Eval >Try the new software tools for yourself. Speed compiling, find bugs >proactively, and fine-tune applications for parallel performance. >See why Intel Parallel Studio got high marks during beta. >http://p.sf.net/sfu/intel-sw-dev >- >Forwarded by the Webmin development list at web...@we... >To remove yourself from this list, go to >http://lists.sourceforge.net/lists/listinfo/webadmin-devel > |
From: Paul G. <pa...@ge...> - 2010-03-12 14:27:34
|
Jamie Cameron wrote: > Sorry, no... however, you can access the webmin API from a command line perl script, if you are familiar with the language. > > > Paul Gear <pa...@ge...> wrote: > >> Hi folks, >> >> I have a DHCP server that i manage through Webmin, and i'd like to >> bulk-add entries to a particular subnet. Is there a way to access this >>from a bash script? Perl is fine too. Are there defined APIs for each module? |
From: Jamie C. <jca...@we...> - 2010-03-12 18:23:49
|
On 12/Mar/2010 06:26 Paul Gear <pa...@ge...> wrote .. > Jamie Cameron wrote: > > Sorry, no... however, you can access the webmin API from a command line perl > script, if you are familiar with the language. > > > > > > Paul Gear <pa...@ge...> wrote: > > > >> Hi folks, > >> > >> I have a DHCP server that i manage through Webmin, and i'd like to > >> bulk-add entries to a particular subnet. Is there a way to access this > >>from a bash script? > > Perl is fine too. Are there defined APIs for each module? Yes, although not all are very well documented. Have a look at : http://doxfer.com/Webmin/UsingTheAPIInStandalonePerlScripts and : http://doxfer.com/Webmin/TheWebminAPI - Jamie |