Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 10:38:12 +0200
From:      "Doobee R . Tzeck" <drt@ailis.de>
To:        freebsd-isdn@freebsd.org
Subject:   Calling a programm *before* the line is taken down.
Message-ID:  <20000714103812.A6553@malcolm.ailis.de>

next in thread | raw e-mail | index | archive | help
I'm investigating ways to execute commands just before an isp connection is
taken down. This should help deregistering at certain network services,
notably at a dynamic dns server.

It seems to me, I have to find all calls to N_DISCONNECT_REQUEST in i4bdrv.c
and i4bl4.c and chage them to sending a special Message like
WILL_DISCONECT_IND to userland, wait 5 seconds and then disconnect.

But as far as I understand I can't just sleep(5);

Any hints how to implement such a thing?

drt


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000714103812.A6553>