On Tue, Apr 14, 2009 at 05:27:53PM +0200, Arnau Bria wrote:
> Hi all,
> 
> I removed my net.eth0 service from default/boot level:
> 
> amparo ~ # rc-update show|grep eth0
> amparo ~ # 
> 
> but now, udev-postmount tries to start it.
> I don't want it cause I don't plug any wire to my laptop, and udev hang
> my start for a minute...
> 
> how may I disable udev from starting net.eth0?
> I remember in the past I had something that checked is the wire was
> pluged, and if so, it started my network... anyone  could help me to
> remember that program?  
> 
> TIA,
> Arnau

look at the rc_hotplug option in /etc/rc.conf
something like rc_hotplug="!net.eth0" should work for you...

the other option is, if you emerge ifplugd, the net.eth0 service will
use ifplugd to see if there is a cable connected... it will start but
will not set up the interface until you plug in a cable...

yoyo

Reply via email to