Re: [OpenWrt-Devel] [PATCH] packages/dnsmasq: add support for option "--dhcp-script"

2011-01-27 Thread Jo-Philipp Wich
Thats an upstream dnsmasq decision and not within the scope of this patch: -6 --dhcp-script= Whenever a new DHCP lease is created, or an old one destroyed, the executable specified by this option is run. [...] ~ Jow ___ openwrt-devel mailing l

Re: [OpenWrt-Devel] [PATCH] packages/dnsmasq: add support for option "--dhcp-script"

2011-01-27 Thread Benjamin Cama
Hi, Le jeudi 27 janvier 2011 à 10:02 +0100, Bastian Bittorf a écrit : > adding support for "--dhcp-script" (long) "-6" (short). Why "-6" for the short option name? It's often used for IPv6-related things. I think it may be confusing. Regards, Benjamin ___

Re: [OpenWrt-Devel] [PATCH] packages/dnsmasq: add support for option "--dhcp-script"

2011-01-27 Thread Vasilis Tsiligiannis
Applied in r25137. Thanks! signature.asc Description: This is a digitally signed message part. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] packages/dnsmasq: add support for option "--dhcp-script"

2011-01-27 Thread Bastian Bittorf
adding support for "--dhcp-script" (long) "-6" (short). each time dnsmasq see's a dhcp-request, it calls a confireable script with some arguments. e.g. file "/etc/config/dhcp" option dhcpscript '/tmp/test.sh' file "test.sh" #!/bin/sh logger "dhcp! 1='$1' 2='$2' 3='$3' 4='$4'" this performs the