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 <robbat2@gentoo.org>
This commit is contained in:
parent
9127684553
commit
37af1693b4
@ -5,6 +5,9 @@ ifconfig_depend()
|
|||||||
{
|
{
|
||||||
program /sbin/ifconfig /bin/ifconfig
|
program /sbin/ifconfig /bin/ifconfig
|
||||||
provide interface
|
provide interface
|
||||||
|
case "${IFACE}" in
|
||||||
|
lo|lo0) need sysfs ;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
_up()
|
_up()
|
||||||
|
@ -6,6 +6,9 @@ iproute2_depend()
|
|||||||
program ip
|
program ip
|
||||||
provide interface
|
provide interface
|
||||||
after ifconfig
|
after ifconfig
|
||||||
|
case "${IFACE}" in
|
||||||
|
lo|lo0) need sysfs ;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
_up()
|
_up()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user