etc/rc.d: Only install ipfw_netflow is MK_IPFW and MK_NETGRAPH is defined

While here only install ipfw rc script if MK_IPFW is defined.

Reported by:	ngie
This commit is contained in:
Emmanuel Vadot 2017-07-15 09:04:23 +00:00
parent 68a870f3bc
commit 0a84d3e5f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321008

View File

@ -47,7 +47,6 @@ FILES= DAEMON \
ip6addrctl \
ipfilter \
ipfs \
ipfw \
ipmon \
ipnat \
ipsec \
@ -206,6 +205,13 @@ HASTPACKAGE= hast
FILES+= inetd
.endif
.if ${MK_IPFW} != "no"
FILES+= ipfw
.if ${MK_NETGRAPH} != "no"
FILES+= ipfw_netflow
.endif
.endif
.if ${MK_ISCSI} != "no"
FILES+= iscsictl
FILES+= iscsid