Re: ip-up & ip-down
On Wed, Dec 30, 1998 at 12:11:49PM -0600, john@dhh.gt.org wrote:
> Martin Bialasinski writes:
> > When ip-down is run, the ip-layer is already down, so there is no way to
> > make contact to hosts over the link. So some programm like "contact the
> > dynip service to tell them I am going offline" doesn't work.
You could have poff call some program and waits for it to exit before it
takes the link down. I think this technique is called a wrapper. So you
move poff to poff.real and create a new poff that tells your service you
are going offline, then calls poff.real
>
> A while back someone suggested hacking pppd to run "ip-about-to-go-up" and
> "ip-about-to-go-down" scripts, but so far as I know nothing was ever done
> about it. The best solution I can think of off the top of my head is to
> run pppd under the control of a script that would do stuff like this before
> shutting it down.
> --
> John Hasler
> john@dhh.gt.org (John Hasler)
> Dancing Horse Hill
> Elmwood, WI
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
--
Jim Foltz <aa204@acorn.net>
Reply to: