aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp41-relay
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2011-06-03 12:31:24 +0000
committerWesley Shields <wxs@FreeBSD.org>2011-06-03 12:31:24 +0000
commitbe3682b91dd57329a73bdc6a81a4729161da008e (patch)
tree9f805324df7109ef135e22acc5fa554cf88eb87d /net/isc-dhcp41-relay
parenta38ad749fb2809f9f197640886a586f775fef06e (diff)
net/isc-dchp41-server port installs two RC_SUBR scripts: isc-dhcpd and
isc-dhcpd6 when it is built with IPv6 support. net/isc-dchp41-relay could be built with IPv6 support, but it doesn't provide way to start two realys (for IPv4 and IPv6) simultaneously. This patch changes RC_SUBR script isc-dhcrelay to support such operations, and install link from isc-dhcrelay to isc-dhcrelay6 when port is built with IPv6 support. PR: ports/157501 Submitted by: lev@ Approved by: Douglas Thrift <douglas@douglasthrift.net> (maintainer)
Notes
Notes: svn path=/head/; revision=275023
Diffstat (limited to 'net/isc-dhcp41-relay')
-rw-r--r--net/isc-dhcp41-relay/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/isc-dhcp41-relay/pkg-plist b/net/isc-dhcp41-relay/pkg-plist
index 769520a1f3f7..e41a24f5b35a 100644
--- a/net/isc-dhcp41-relay/pkg-plist
+++ b/net/isc-dhcp41-relay/pkg-plist
@@ -1,4 +1,6 @@
@comment $FreeBSD$
@unexec %D/etc/rc.d/isc-dhcrelay.sh forcestop 2>/dev/null || true
@unexec %D/etc/rc.d/isc-dhcrelay forcestop 2>/dev/null || true
+%%IPV6%%@unexec %D/etc/rc.d/isc-dhcrelay6 forcestop 2>/dev/null || true
+%%IPV6%%etc/rc.d/isc-dhcrelay6
sbin/dhcrelay