Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: Neil Bothwick <neil@...>
Subject: Re: Re: Re: net.eth0 and net.eth1 choice + net.eth1 timeout
Date: Sat, 18 Feb 2006 23:34:12 +0000
On Sat, 18 Feb 2006 14:58:24 -0500, Thomas Kirchner wrote:

> > preup() {
> >   [ ${IFACE} == "eth0" ] && /etc/init.d/net.eth1 --quiet status
> > && /etc/init.d/net.eth1 pause return 0
> > }
> 
> Thanks for this - it looks quite handy.  Is preup() executed after
> ifplug notices a connection?  When does postup() occur, if that's the
> case?

preup is executed by net.eth* before bringing up the interface, so this
brings down eth1 before eth0 is set up, otherwise things may get
confused. Using pause rather that stop means dependent services aren't
stopped. postup is run after the interface is up, so this is where, for
example, you might want to mount network filesystems.


-- 
Neil Bothwick

 ... We are Dyslexics of Borg. Your ass will be laminated.
Attachment:
signature.asc (PGP signature)
References:
net.eth0 and net.eth1 choice + net.eth1 timeout
-- Marco Calviani
Re: net.eth0 and net.eth1 choice + net.eth1 timeout
-- Heinz Sporn
Re: net.eth0 and net.eth1 choice + net.eth1 timeout
-- Neil Bothwick
Re: net.eth0 and net.eth1 choice + net.eth1 timeout
-- Thomas Kirchner
Re: Re: net.eth0 and net.eth1 choice + net.eth1 timeout
-- Neil Bothwick
Re: Re: net.eth0 and net.eth1 choice + net.eth1 timeout
-- Thomas Kirchner
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: net.eth0 and net.eth1 choice + net.eth1 timeout
Next by thread:
3d rendering with dri radeon
Previous by date:
Re: apsfilter issue--more info
Next by date:
Re: [OT] CD/DVD/R/RW-manufacturer - HOWTO identify?


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.