summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-02-11 07:30:20 +0000
committerngie <ngie@FreeBSD.org>2015-02-11 07:30:20 +0000
commit22f4a9ff52e61f266870ef117f51bfe90604ded7 (patch)
tree8ed740bb746360deb00884950d0abdd5f1b420e7 /etc
parenta01a4bc555315e8086d5487b5269753486cd0432 (diff)
downloadFreeBSD-src-22f4a9ff52e61f266870ef117f51bfe90604ded7.zip
FreeBSD-src-22f4a9ff52e61f266870ef117f51bfe90604ded7.tar.gz
MFC r277728:
r277728: Add MK_AUTOFS knob for building and installing autofs(4), et al Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile9
-rw-r--r--etc/rc.d/Makefile9
2 files changed, 13 insertions, 5 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 3847cfe..f3ff675 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -14,8 +14,7 @@ SUBDIR+=sendmail
SUBDIR+=tests
.endif
-BIN1= auto_master \
- crontab \
+BIN1= crontab \
devd.conf \
devfs.conf \
ddb.conf \
@@ -90,6 +89,10 @@ BIN1+= amd.map
BIN1+= apmd.conf
.endif
+.if ${MK_AUTOFS} != "no"
+BIN1+= auto_master
+.endif
+
.if ${MK_BSNMP} != "no"
BIN1+= snmpd.config
.endif
@@ -229,7 +232,9 @@ distribution:
echo "./etc/spwd.db type=file mode=0600 uname=root gname=wheel"; \
) | ${METALOG.add}
.endif
+.if ${MK_AUTOFS} != "no"
${_+_}cd ${.CURDIR}/autofs; ${MAKE} install
+.endif
.if ${MK_BLUETOOTH} != "no"
${_+_}cd ${.CURDIR}/bluetooth; ${MAKE} install
.endif
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index ad3fb66..0c54a91 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -17,9 +17,6 @@ FILES= DAEMON \
atm3 \
auditd \
auditdistd \
- automount \
- automountd \
- autounmountd \
bgfsck \
${_bluetooth} \
bootparams \
@@ -170,6 +167,12 @@ FILES+= apm
FILES+= apmd
.endif
+.if ${MK_AUTOFS} != "no"
+FILES+= automount
+FILES+= automountd
+FILES+= autounmountd
+.endif
+
.if ${MK_BLUETOOTH} != "no"
_bluetooth= bluetooth
_bthidd= bthidd
OpenPOWER on IntegriCloud