doc/lease-script: reflect actual action of the script

This commit is contained in:
PackElend 2022-04-30 00:20:19 +02:00 committed by Christian Hesse
parent f417bcbcd4
commit 56c5da8ed4

View file

@ -9,13 +9,19 @@ Run other scripts on DHCP lease
Description Description
----------- -----------
This script is supposed to run from dhcp server as lease script. Currently This script is supposed to run from dhcp server as lease script. On a dhcp
it does: lease it runs each script containing the following line, where `##` is a
decimal number for ordering:
* run [collect-wireless-mac](collect-wireless-mac.md) # provides: lease-script, order=##
* run [dhcp-lease-comment](dhcp-lease-comment.md)
* run [dhcp-to-dns](dhcp-to-dns.md) Currently it runs if available, in order:
* run [hotspot-to-wpa](hotspot-to-wpa.md)
* [dhcp-to-dns](dhcp-to-dns.md)
* [collect-wireless-mac](collect-wireless-mac.md)
* [dhcp-lease-comment](dhcp-lease-comment.md)
* `hotspot-to-wpa-cleanup`, which is an optional cleanup script
of [hotspot-to-wpa](hotspot-to-wpa.md)
Requirements and installation Requirements and installation
----------------------------- -----------------------------