isc-dhcp-relay: Add init scripts for ipv4 and ipv6 as well as config
authorFlorian Fainelli <florian@openwrt.org>
Tue, 4 Dec 2012 16:20:51 +0000 (16:20 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 4 Dec 2012 16:20:51 +0000 (16:20 +0000)
commit2e3eed466cad851cc979e547a9553f66175bae99
tree9d38c6a472fe3bb4ea0dbeb76112d1633b94832c
parent2802f9932080fd3280f13386507b8084915bf770
isc-dhcp-relay: Add init scripts for ipv4 and ipv6 as well as config
file

I cleaned up the patch so line do not overflow and removed some white
space in hope to get it accepted or revised.

As isc-dhcp-relay does not come with an init script, I made one based
on sysntpd init.d file for both ipv4 and ipv6.

If you need more arguments from isc-dhcp-relay to be included in the
config file, I'll be able to add them.

This patch has been applied to trunk and compiles/install on my side.

The script for ipv4 and ipv6 have been tested with the
isc-dhcp-relay-ipv6 binary and work well (start/stop with the right
settings).

Signed-off-by: Jérôme Poulin <jeromepoulin@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34485
net/isc-dhcp/Makefile
net/isc-dhcp/files/dhcrelay4.init [new file with mode: 0644]
net/isc-dhcp/files/dhcrelay6.init [new file with mode: 0644]
net/isc-dhcp/files/etc/config/dhcrelay [new file with mode: 0644]