diff options
author | ngie <ngie@FreeBSD.org> | 2016-05-15 05:38:47 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-05-15 05:38:47 +0000 |
commit | 79f608b18c145f81187bd1b096d92200ebfa274e (patch) | |
tree | 823b1cfc8dedfc6b4d3cefb75f1408563ef1bab8 /etc | |
parent | 0978157e2ab9e4fa3951f5b415559fb87d35a000 (diff) | |
download | FreeBSD-src-79f608b18c145f81187bd1b096d92200ebfa274e.zip FreeBSD-src-79f608b18c145f81187bd1b096d92200ebfa274e.tar.gz |
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
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/Makefile | 11 | ||||
-rwxr-xr-x | etc/rc.d/netif | 2 |
2 files changed, 9 insertions, 4 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile index 65102a1..89d2baf 100644 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -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 diff --git a/etc/rc.d/netif b/etc/rc.d/netif index 6174585..e2b1825 100755 --- a/etc/rc.d/netif +++ b/etc/rc.d/netif @@ -26,7 +26,7 @@ # # PROVIDE: netif -# REQUIRE: atm1 FILESYSTEMS iovctl serial sppp sysctl +# REQUIRE: FILESYSTEMS iovctl serial sppp sysctl # REQUIRE: ipfilter ipfs # KEYWORD: nojailvnet |