On Wed, Apr 06, 2005 at 05:54:54PM +0200, Thomas Hood wrote:
> On Wed, 2005-04-06 at 16:57 +0200, Joerg Dorchain wrote:
> > Maybe ifup and ifdown can use the environment variables to see
> > whether they are run from hotplug scripts or not and accordingly leave
> > pppd alone if they are.
> 
> 
> It is easier to modify hotplug's net.agent script so that it avoids
> calling ifdown if the interface is a PPP one.  An even cleaner solution
> would be to implement #303383; then PPP interfaces would be neither
> upped nor downed by hotplug by default (as with all other kinds of
> interfaces) and the administrator would enable hotplug control of PPP
> interfaces by adding
> 
>     allow-hotplug ppp0
> 
> to /etc/network/interfaces.

This is a generalization of the auto keyword. Great! Go for it, if my
voice counts.

Bye,

Joerg

Attachment: signature.asc
Description: Digital signature

Reply via email to