Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: init.d/
Date: Fri, 24 Aug 2012 15:37:08
Message-Id: 1345822204.8f675d14e86e9e86a2d17b825aae9af519214305.WilliamH@OpenRC
1 commit: 8f675d14e86e9e86a2d17b825aae9af519214305
2 Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
3 AuthorDate: Fri Aug 24 15:30:04 2012 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 24 15:30:04 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=8f675d14
7
8 newnet: provide net if configuring more than the loopback interface
9
10 ---
11 init.d/network.in | 5 ++++-
12 1 files changed, 4 insertions(+), 1 deletions(-)
13
14 diff --git a/init.d/network.in b/init.d/network.in
15 index f0403b4..65c199c 100644
16 --- a/init.d/network.in
17 +++ b/init.d/network.in
18 @@ -12,7 +12,10 @@ depend()
19 {
20 need localmount
21 after bootmisc
22 - provide net
23 + provide lo
24 + if [ -n "$(interfaces)" ]; then
25 + provide net
26 + fi
27 keyword -jail -prefix -vserver
28 }