From bc581530e5caa4e2c82d1c3deb9f0382a440e8ec Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 7 Feb 2012 17:10:10 -0600 Subject: 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". --- init.d/net.lo.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/init.d/net.lo.in b/init.d/net.lo.in index bf2d848..4e11dec 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -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 -- cgit v1.2.3