From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from ) id 1IGbQM-0007i4-3F for garchives@archives.gentoo.org; Thu, 02 Aug 2007 14:13:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l72EBTFn002278; Thu, 2 Aug 2007 14:11:29 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l72E6ol4029390 for ; Thu, 2 Aug 2007 14:06:51 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 319B465588 for ; Thu, 2 Aug 2007 14:06:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.159 X-Spam-Level: X-Spam-Status: No, score=-0.159 required=5.5 tests=[AWL=-0.160, BAYES_50=0.001] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UZ6yu+Xnpwh7 for ; Thu, 2 Aug 2007 14:06:46 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 81B576555B for ; Thu, 2 Aug 2007 14:06:45 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IGbJy-0002dl-QH for gentoo-user@gentoo.org; Thu, 02 Aug 2007 16:06:34 +0200 Received: from zy-rieter.cyberlink.ch ([212.55.215.153]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Aug 2007 16:06:34 +0200 Received: from listen by zy-rieter.cyberlink.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Aug 2007 16:06:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Alexander Skwar Subject: [gentoo-user] Re: Stop net.eth0 from starting? Date: Thu, 02 Aug 2007 16:06:16 +0200 Organization: n/a Message-ID: <1605223.0eBG39tfWk@kn.gn.rtr.message-center.info> References: <4ef07b8c0708020647i62b1c7ffw1196fb55045b33b8@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: zy-rieter.cyberlink.ch User-Agent: KNode/0.10.5 Sender: news X-Archives-Salt: 7220c1d0-5f7f-4659-8146-f8ea094e0d9e X-Archives-Hash: ec3c530142230ebb29d833981a6eb53a Dan Cowsill wrote: > My question is, is there any way to stop net.eth0 from starting > besides ethtool's preup function? If you never want net.eth0 to start, you could of course simply delete /etc/init.d/net.eth0. Another way to make net.eth0 NOT start is to modify /etc/conf.d/rc: ,----[ /etc/conf.d/rc ] | # Some people want a finer grain over hotplug/coldplug. RC_PLUG_SERVICES is a | # list of services that are matched in order, either allowing or not. By | # default we allow services through as RC_COLDPLUG/RC_HOTPLUG has to be yes | # anyway. | # Example - RC_PLUG_SERVICES="net.wlan !net.*" | # This allows net.wlan and any service not matching net.* to be plugged. | | RC_PLUG_SERVICES="!net.eth*" `---- That's what I do at home as well. Works very fine. Alexander Skwar -- gentoo-user@gentoo.org mailing list