diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2017-07-15 09:04:23 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2017-07-15 09:04:23 +0000 |
commit | 0a84d3e5f0f4f8b71571fdd7529f1c8b9abeea54 (patch) | |
tree | 544da2a0da39a2d3175c6c5ed923de75b1841258 /etc/rc.d | |
parent | 68a870f3bcc1a213ed166fc65e6763d7e783e2fd (diff) | |
download | src-0a84d3e5f0f4f8b71571fdd7529f1c8b9abeea54.tar.gz src-0a84d3e5f0f4f8b71571fdd7529f1c8b9abeea54.zip |
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
Notes
Notes:
svn path=/head/; revision=321008
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile index 01e21415d53c..e27ac915b9ad 100644 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -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 |