commit:     fb47f01605857f09614013d23014ad5a6899e9f7
Author:     Patrick McLean <patrickm <AT> gaikai <DOT> com>
AuthorDate: Thu Jan 29 01:04:41 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Jan 29 01:04:41 2015 +0000
URL:        https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=fb47f016

lo should not have a "need" dependency on localmount

 init.d/net.lo.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index e9e7f7c..bdb3747 100644
--- a/init.d/net.lo.in
+++ b/init.d/net.lo.in
@@ -30,9 +30,9 @@ depend()
        local IFACE=$(get_interface)
        local IFVAR=$(shell_var "${IFACE}")
 
-       need localmount
        if [ "$RC_UNAME" = Linux -a "$IFACE" != lo ]; then
                need sysfs
+               after modules
        fi
        after bootmisc
        keyword -jail -prefix -vserver
@@ -41,6 +41,7 @@ depend()
                lo|lo0) ;;
                *)
                        after net.lo net.lo0 dbus
+                       need localmount
                        provide net
                        ;;
        esac

Reply via email to