1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00
Wesley Shields be3682b91d 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)
2011-06-03 12:31:24 +00:00

7 lines
265 B
Plaintext

@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