aboutsummaryrefslogtreecommitdiff
path: root/init.d/network.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-08-24 10:30:04 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-08-24 10:30:04 -0500
commit8f675d14e86e9e86a2d17b825aae9af519214305 (patch)
tree307636cf27c1ffb8e58f90996e10487c600a4cc4 /init.d/network.in
parent9afdf50667661812be936fe6d3b3a939b0c54061 (diff)
newnet: provide net if configuring more than the loopback interface
Diffstat (limited to 'init.d/network.in')
-rw-r--r--init.d/network.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.d/network.in b/init.d/network.in
index f0403b4f..65c199c1 100644
--- a/init.d/network.in
+++ b/init.d/network.in
@@ -12,7 +12,10 @@ depend()
{
need localmount
after bootmisc
- provide net
+ provide lo
+ if [ -n "$(interfaces)" ]; then
+ provide net
+ fi
keyword -jail -prefix -vserver
}