*** From dhcp-server -- To unsubscribe, see the end of this message. ***
On Tue, Apr 13, 1999 at 12:00:37PM -0400, Ted Lemon wrote:
> > Is it possible to have dhcpd call an external script when it has issued
> > an IP address (a bit like how dhcpcd can execute a script using the -c
> > option when it receives an address) ?
>
> This is a planned feature for a future release. I.e., "no, but it's
> a good idea." The problem is that I'd have to add code to reap
> processes asynchronously, which is hard to do portably, so I just
> haven't tried to tackle it yet.
Here's a few ideas:
- Append log messages to a file that can, in turn, be tailed by other
processes.
- Send messages to other processes using a Unix datagram socket.
Or write to a pipe (yeah, I know, SIGPIPE handling, but that's not as
hard as SIGCLD handling!).
- Log lease events via syslog (not reliable, yes, but what the hell).
:)
> _MelloN_
>
>
Nico
-A Disclaimer may have been automatically attached below this point.-
-By posting this e-mail to a public mailing list I hereby grant-
-permission to distribute copies of this e-mail message.-
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED] Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------