From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4F28C138010 for ; Fri, 24 Aug 2012 15:37:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A20ABE04C1; Fri, 24 Aug 2012 15:36:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7595EE04C1 for ; Fri, 24 Aug 2012 15:36:40 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF58033D7CB for ; Fri, 24 Aug 2012 15:36:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 5AD10E543D for ; Fri, 24 Aug 2012 15:36:38 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1345822204.8f675d14e86e9e86a2d17b825aae9af519214305.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/network.in X-VCS-Directories: init.d/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 8f675d14e86e9e86a2d17b825aae9af519214305 X-VCS-Branch: master Date: Fri, 24 Aug 2012 15:36:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a4d5692f-eec1-4f7d-8f09-aea34f5f82e1 X-Archives-Hash: 322af0ddb066353a62caa22052600845 commit: 8f675d14e86e9e86a2d17b825aae9af519214305 Author: William Hubbs gmail com> AuthorDate: Fri Aug 24 15:30:04 2012 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri Aug 24 15:30:04 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=8f675d14 newnet: provide net if configuring more than the loopback interface --- init.d/network.in | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/init.d/network.in b/init.d/network.in index f0403b4..65c199c 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 }