diff options
author | ngie <ngie@FreeBSD.org> | 2015-01-26 07:15:49 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-01-26 07:15:49 +0000 |
commit | 66090fa9a37b55b073c52702f51417c207b1c045 (patch) | |
tree | 8f70b3f4a2642311c997ba66a92785651afc0732 /etc | |
parent | 691728766995189ba0ea8b9795f271eb5008ac8e (diff) | |
download | FreeBSD-src-66090fa9a37b55b073c52702f51417c207b1c045.zip FreeBSD-src-66090fa9a37b55b073c52702f51417c207b1c045.tar.gz |
Add MK_AUTOFS knob for building and installing autofs(4), et al
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile | 9 | ||||
-rw-r--r-- | etc/rc.d/Makefile | 9 |
2 files changed, 13 insertions, 5 deletions
diff --git a/etc/Makefile b/etc/Makefile index 62b837f..b27542a 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 21ddb36..2586cbf 100644 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -20,9 +20,6 @@ FILES= DAEMON \ atm3 \ auditd \ auditdistd \ - automount \ - automountd \ - autounmountd \ bgfsck \ ${_bluetooth} \ bootparams \ @@ -158,6 +155,12 @@ FILES= DAEMON \ zfs \ zvol +.if ${MK_AUTOFS} != "no" +FILES+= automount +FILES+= automountd +FILES+= autounmountd +.endif + .if ${MK_BLUETOOTH} != "no" _bluetooth= bluetooth _bthidd= bthidd |