summaryrefslogtreecommitdiff
path: root/init.d
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
parent37af1693b48c314224ecd207c2afa6291208412b (diff)
downloadopenrc-be5de328e9aa4d35a8222e1c4c2358bb9a07449c.tar.gz
openrc-be5de328e9aa4d35a8222e1c4c2358bb9a07449c.tar.bz2
openrc-be5de328e9aa4d35a8222e1c4c2358bb9a07449c.tar.xz
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')
-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 8a186a0..6bf49b5 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