[PATCH] execute program on events
Kevin Eustice
kfe at cs.ucla.edu
Tue Mar 21 21:52:14 UTC 2006
It seems like the right way to do what you want to do here is not to
execute a specified program, but rather generate an event (maybe to
ACPI?) that an external process can use to trigger some execution.
Currently, I do something similar through the use of a log watcher
that triggers on succesful DHCP sessions observed in the log file.
Kevin Eustice
> On Tuesday 21 March 2006 14:05, Måns Rullgård wrote:
> > Any comments at all on this?
>
> Historically, the reason why the DHCP server doesn't do this is because it's
> not asynchronous, so if the command hangs, the DHCP server hangs.
>
--
Kevin Eustice
Graduate Student Researcher
The Laboratory for Advanced System Research @ UCLA CS
kfe at cs.ucla.edu
http://lasr.cs.ucla.edu/kfe
Only vegetables are happy.
--William Faulkner
More information about the dhcp-hackers
mailing list