summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-05-15 04:39:36 +0000
committerngie <ngie@FreeBSD.org>2016-05-15 04:39:36 +0000
commitb71e18cd9f574d3dba73496b216aa206aa206109 (patch)
tree8951920c5aea8acfc52d23ec85af43b712c72a54 /etc/rc.d
parent5800a2cb914fb786ce6b5bfee89d9a1ccdcc2abd (diff)
downloadFreeBSD-src-b71e18cd9f574d3dba73496b216aa206aa206109.zip
FreeBSD-src-b71e18cd9f574d3dba73496b216aa206aa206109.tar.gz
Conditionalize etc/rc.d/{zfs,zvol} install on MK_ZFS != no
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index fb0f2a7..65102a1 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -127,8 +127,6 @@ FILES= DAEMON \
ypset \
ypupdated \
ypxfrd \
- zfs \
- zvol
.if ${MK_ACCT} != "no"
FILESGROUPS+= ACCT
@@ -302,6 +300,13 @@ FILES+= hostapd
FILES+= wpa_supplicant
.endif
+.if ${MK_ZFS} != "no"
+FILESGROUPS+= ZFS
+ZFS+= zfs
+ZFS+= zvol
+ZFSPACKAGE= zfs
+.endif
+
.for fg in ${FILESGROUPS}
${fg}MODE?= ${BINMODE}
.endfor
OpenPOWER on IntegriCloud