T.V.Gnanasekaran wrote:
> But when I disconnect I can execute another script in ip-down.d because I
> use 'kill `cat /var/run/ppp0.d`' which is not a proper downing of route
> ppp0.

Of course it is (and ppp0 is an interface, not a route).  pppd takes down
the route when it receives the signal.  killing pppd is the normal way to
bring down a ppp connection.  Look inside poff.  It's just a wrapper around
kill.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI

Reply via email to