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.

-- 
Thomas Hood <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to