From 37af1693b48c314224ecd207c2afa6291208412b Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 3 Apr 2012 14:30:01 -0700 Subject: net/ifconfig, net/iproute: need sysfs sysfs needs to be available before we can check interfaces. On udev systems this was not a problem, but with mdev/static-dev, there is no other need for sysfs until later in the init. X-Gentoo-Bug: 410701 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=410701 Signed-off-by: Robin H. Johnson --- net/iproute2.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net/iproute2.sh') diff --git a/net/iproute2.sh b/net/iproute2.sh index b420e41b..c290331d 100644 --- a/net/iproute2.sh +++ b/net/iproute2.sh @@ -6,6 +6,9 @@ iproute2_depend() program ip provide interface after ifconfig + case "${IFACE}" in + lo|lo0) need sysfs ;; + esac } _up() -- cgit v1.2.3