aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/net.lo.in3
-rw-r--r--net/ifconfig.sh.Linux.in3
-rw-r--r--net/iproute2.sh3
3 files changed, 3 insertions, 6 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index 8a186a0b..6bf49b5d 100644
--- a/init.d/net.lo.in
+++ b/init.d/net.lo.in
@@ -19,6 +19,9 @@ depend()
local IFVAR=$(shell_var "${IFACE}")
need localmount
+ if [ "$RC_UNAME" = Linux ]; then
+ need sysfs
+ fi
after bootmisc
keyword -jail -vserver
diff --git a/net/ifconfig.sh.Linux.in b/net/ifconfig.sh.Linux.in
index a7e3e743..8abc9983 100644
--- a/net/ifconfig.sh.Linux.in
+++ b/net/ifconfig.sh.Linux.in
@@ -5,9 +5,6 @@ ifconfig_depend()
{
program /sbin/ifconfig /bin/ifconfig
provide interface
- case "${IFACE}" in
- lo|lo0) need sysfs ;;
- esac
}
_up()
diff --git a/net/iproute2.sh b/net/iproute2.sh
index c290331d..b420e41b 100644
--- a/net/iproute2.sh
+++ b/net/iproute2.sh
@@ -6,9 +6,6 @@ iproute2_depend()
program ip
provide interface
after ifconfig
- case "${IFACE}" in
- lo|lo0) need sysfs ;;
- esac
}
_up()