Fix meaning of "provide net"

I was informed that "provide net" should mean that there is network
communication outside the local computer. In this case, the loopback
interface can't "provide net", but there needs to be a way for other
processes to know that the loopback interface is active.

To this end, this commit makes the loopback "provide lo" and all other
interfaces "provide net".
This commit is contained in:
William Hubbs 2012-02-07 17:10:10 -06:00
parent 04afaa3c03
commit bc581530e5

View File

@ -20,12 +20,14 @@ depend()
need localmount
after bootmisc
provide net
keyword -jail -prefix -vserver
case "${IFACE}" in
lo|lo0);;
*) after net.lo net.lo0 dbus;;
lo|lo0) provide lo;;
*)
after net.lo net.lo0 dbus
provide net
;;
esac
if [ "$(command -v "depend_${IFVAR}")" = "depend_${IFVAR}" ]; then