summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-02-04 09:31:10 +0000
committerngie <ngie@FreeBSD.org>2015-02-04 09:31:10 +0000
commit152cd06f5340b78af4216d4e197e9cb1e99ead23 (patch)
tree8948b6ba4e1b0e19b7f7f05e9af8f5f0670ab961 /etc
parent5f6c6cdef0f4b549fd110f91bb2d7b6f1eca86dd (diff)
downloadFreeBSD-src-152cd06f5340b78af4216d4e197e9cb1e99ead23.zip
FreeBSD-src-152cd06f5340b78af4216d4e197e9cb1e99ead23.tar.gz
MFC r277732:
r277732: Honor MK_API in etc/rc.d Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index 3fe99a0..b5112c6 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -12,8 +12,6 @@ FILES= DAEMON \
addswap \
adjkerntz \
amd \
- apm \
- apmd \
archdep \
atm1 \
atm2 \
@@ -166,6 +164,11 @@ FILES= DAEMON \
zfs \
zvol
+.if ${MK_APM} != "no"
+FILES+= apm
+FILES+= apmd
+.endif
+
.if ${MK_BLUETOOTH} != "no"
_bluetooth= bluetooth
_bthidd= bthidd
OpenPOWER on IntegriCloud