Don Gould wrote:
See:
http://www.tcn.bowenvale.co.nz/component/option,com_wrapper/Itemid,23/
DNSMasq has an option --dhcp-script
I got the script option working and paramters being reported.
However it's only called when the program starts or a lease is
refreshed.... not just everytime it's requested.
So I've been editing code... I got the code to write to the syslog on
command, but ran a ground when it came to trying to call SK's run_script
function where I wanted to... I suspect the function is private to the
module it's in, but I don't know enough about function declarations in
c.... oh well... I didn't know how to make dnsmasq run when I got up
this morning. :)
Cheers Don
--
Don Gould
www.thinkdesignprint.co.nz - www.tcn.bowenvale.co.nz -
www.bowenvale.co.nz - www.hearingbooks.co.nz - SkypeMe: ThinkDesignPrint