aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-10-16 20:56:34 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-10-16 20:56:34 -0500
commit6d84a4aed8dd519641c8fd6994fb93135efb122d (patch)
tree112113e1d5fe693862b85f73270b09c97788d9d5
parent76f76eb19a1e0595ba6b512e1a7e3791006aee3a (diff)
Oldnet: the loopback interface does not need sysfs
-rw-r--r--init.d/net.lo.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index de441e22..47bdc2f9 100644
--- a/init.d/net.lo.in
+++ b/init.d/net.lo.in
@@ -19,7 +19,7 @@ depend()
local IFVAR=$(shell_var "${IFACE}")
need localmount
- if [ "$RC_UNAME" = Linux ]; then
+ if [ "$RC_UNAME" = Linux -a "$IFACE" != lo ]; then
need sysfs
fi
after bootmisc