Conditionalize installing etc/rc.d/atm{1,2,3}

`BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes
are needed in that script

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2016-05-15 05:38:47 +00:00
parent fbee792a95
commit 904bea8330
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299842
3 changed files with 12 additions and 4 deletions

View File

@ -14,9 +14,6 @@ FILES= DAEMON \
addswap \
adjkerntz \
archdep \
atm1 \
atm2 \
atm3 \
auditd \
auditdistd \
bgfsck \
@ -157,6 +154,14 @@ APM+= apmd
APMPACKAGE= apm
.endif
.if ${MK_ATM} != "no"
FILESGROUPS+= ATM
ATM+= atm1
ATM+= atm2
ATM+= atm3
ATMPACKAGE= atm
.endif
.if ${MK_AUTOFS} != "no"
FILES+= automount
FILES+= automountd

View File

@ -26,7 +26,7 @@
#
# PROVIDE: netif
# REQUIRE: atm1 FILESYSTEMS iovctl serial sppp sysctl
# REQUIRE: FILESYSTEMS iovctl serial sppp sysctl
# REQUIRE: ipfilter ipfs
# KEYWORD: nojailvnet

View File

@ -76,6 +76,9 @@ OLD_FILES+=usr/share/man/man8/atrun.8.gz
.endif
.if ${MK_ATM} == no
OLD_FILES+=etc/rc.d/atm1
OLD_FILES+=etc/rc.d/atm2
OLD_FILES+=etc/rc.d/atm3
OLD_FILES+=rescue/atmconfig
OLD_FILES+=sbin/atmconfig
OLD_FILES+=usr/bin/sscop