[Dnsmasq-discuss] Feature Request: tftp-script

Simon Kelley simon at thekelleys.org.uk
Wed Mar 21 09:50:26 GMT 2012


On 21/03/12 07:24, Shantanu Gadgil wrote:
> Hi,
>
> I think it would be OK to add different "--*-script" commands. So you can have 'dhcp6-script', 'tftp-script' ... possibly 'dns-script', etc, etc.
>
> I know that I would like to have a single script to deal with each of these, and that IS how I would do it.
> The way I would do (and usually is done) is that /each/ of the --*-script command would point to a *different* file; each of which is a symlink to the same "real" file!
>
> The "real" script should look at '$0' and figure out which "action" is triggering self and take appropriate action.
>
> Regards,
> Shantanu
>
>

http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.61test7.tar.gz

Has the "tftp" action implemented. At the moment it's sent to the 
--dhcp-script script always. I'm still tending towards that solution, 
but haven't made the final decision. The bulk of the changes are done 
anyway.


Cheers,

Simon.





More information about the Dnsmasq-discuss mailing list