Follow-up on 51da4b19be. When booting a system with WITHOUT_IPFILTER

the following warning printed at boot time:

  rcorder: requirement `ipfs' in file `/etc/rc.d/netif' has no providers.

Close that using BEFORE rather than REQUIRE for writing down
dependencies of optional components.
This commit is contained in:
Gleb Smirnoff 2021-01-11 12:36:54 -08:00
parent 0da3f8c98d
commit 425f68e6ce
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
# PROVIDE: ipfs
# REQUIRE: ipnat
# BEFORE: netif
# KEYWORD: nojail shutdown
. /etc/rc.subr

View File

@ -27,7 +27,7 @@
# PROVIDE: netif
# REQUIRE: FILESYSTEMS iovctl serial sppp sysctl
# REQUIRE: hostid ipfs
# REQUIRE: hostid
# KEYWORD: nojailvnet
. /etc/rc.subr