Skip to content
Snippets Groups Projects
Commit b32689af authored by Nick Brassel's avatar Nick Brassel Committed by Hans Dedecker
Browse files

dnsmasq: add dhcp-script hook for other packages


Adds a script which acts as a hook for when dnsmasq creates/destroys a
lease, or completes a TFTP file transfer. The hook loops through scripts
in appropriate directories inside '/etc/hotplug.d', executing each one with
the same arguments supplied by dnsmasq.

In case dnsmasq is jailed by ujail the dhcp-script hook will not work as
expected as ujail does not yet support executing a script within a jail.

Signed-off-by: default avatarNick Brassel <nick@tzarc.org>
Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
parent 822ee545
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment