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 45254138010 for ; Fri, 26 Oct 2012 00:58:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66B7F21C002; Fri, 26 Oct 2012 00:58:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DF1E821C002 for ; Fri, 26 Oct 2012 00:58:31 +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 49DA933D902 for ; Fri, 26 Oct 2012 00:58:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C9218E5436 for ; Fri, 26 Oct 2012 00:58:28 +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: <1351200836.5148047f8996df41b02543efd293ed02c83c8ee6.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: init.d/, conf.d/ X-VCS-Repository: proj/openrc X-VCS-Files: conf.d/Makefile conf.d/netmount init.d/netmount.in X-VCS-Directories: init.d/ conf.d/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 5148047f8996df41b02543efd293ed02c83c8ee6 X-VCS-Branch: master Date: Fri, 26 Oct 2012 00:58:28 +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: 172019f7-cd51-4876-a9b3-a6bfd589851a X-Archives-Hash: d7cc0be5939b9e68f5e65ce88871a002 commit: 5148047f8996df41b02543efd293ed02c83c8ee6 Author: William Hubbs gmail com> AuthorDate: Thu Oct 25 21:33:43 2012 +0000 Commit: William Hubbs gentoo org> CommitDate: Thu Oct 25 21:33:56 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=5148047f netmount: drop need net from dependencies Reported-by: gmail.com> X-Gentoo-Bug: 439658 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439658 --- conf.d/Makefile | 3 ++- conf.d/netmount | 20 ++++++++++++++++++++ init.d/netmount.in | 1 - 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/conf.d/Makefile b/conf.d/Makefile index 0e61021..1f28967 100644 --- a/conf.d/Makefile +++ b/conf.d/Makefile @@ -1,5 +1,6 @@ DIR= ${CONFDIR} -CONF= bootmisc fsck hostname localmount urandom tmpfilesd ${CONF-${OS}} +CONF= bootmisc fsck hostname localmount netmount urandom tmpfilesd \ + ${CONF-${OS}} ifeq (${MKNET},) CONF+= network staticroute diff --git a/conf.d/netmount b/conf.d/netmount new file mode 100644 index 0000000..7df2c8d --- /dev/null +++ b/conf.d/netmount @@ -0,0 +1,20 @@ +# Depending on how mounting your network file systems behaves when your +# network interfaces are down, you may need to set the netmount script to +# require specific network interfaces to be active. This file gives +# examples of how to do this: +# +# If you are using newnet and configuring the interface with a static +# address with the network script: +# rc_need="network" +# +# If you are using oldnet, you must list the specific net.* services you +# need: +# +# rc_need="net.eth0" +# rc_need="net.eth1 net.eth2" +# +# If you are using a dynamic network management tool like +# networkmanager, dhcpcd, etc, you should list that tool here. +# +# rc_need="networkmanager" +# rc_need="dhcpcd" diff --git a/init.d/netmount.in b/init.d/netmount.in index 57ef6d7..fd577d5 100644 --- a/init.d/netmount.in +++ b/init.d/netmount.in @@ -10,7 +10,6 @@ description="Mounts network shares, other than NFS, according to /etc/fstab." depend() { config /etc/fstab - need net use afc-client amd autofs openvpn use dns keyword -jail -prefix -vserver