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 |