aboutsummaryrefslogtreecommitdiff
path: root/init.d/net.lo.in
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-04-03 20:01:23 -0500
committerWilliam Hubbs <williamh@gentoo.org>2012-04-03 20:01:23 -0500
commitbe5de328e9aa4d35a8222e1c4c2358bb9a07449c (patch)
treea8b0715dd965ad449587ce46146e1b38be15cd43 /init.d/net.lo.in
parent37af1693b48c314224ecd207c2afa6291208412b (diff)
network scripts need sysfs on linux systems
Adjust the previous commit so that on linux systems the network scripts need sysfs.
Diffstat (limited to 'init.d/net.lo.in')
-rw-r--r--init.d/net.lo.in3
1 files changed, 3 insertions, 0 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