remove "after bootmisc" dependency from loopback interface
This commit is contained in:
parent
8e925368b7
commit
85827d474c
@ -18,13 +18,12 @@ depend()
|
|||||||
local IFACE=${RC_SVCNAME#*.}
|
local IFACE=${RC_SVCNAME#*.}
|
||||||
local IFVAR=$(shell_var "${IFACE}")
|
local IFVAR=$(shell_var "${IFACE}")
|
||||||
|
|
||||||
after bootmisc
|
|
||||||
provide net
|
provide net
|
||||||
keyword -jail -prefix -vserver
|
keyword -jail -prefix -vserver
|
||||||
|
|
||||||
case "${IFACE}" in
|
case "${IFACE}" in
|
||||||
lo|lo0) need root ;;
|
lo|lo0) need root ;;
|
||||||
*) after net.lo net.lo0 ; need localmount ;;
|
*) after bootmisc net.lo net.lo0 ; need localmount ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "$(command -v "depend_${IFVAR}")" = "depend_${IFVAR}" ]; then
|
if [ "$(command -v "depend_${IFVAR}")" = "depend_${IFVAR}" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user