From 087e7bc3b7cf46054c17bf91558c69a1802dc043 Mon Sep 17 00:00:00 2001 From: PackElend Date: Sat, 30 Apr 2022 00:20:19 +0200 Subject: doc/lease-script: reflect actual action of the script (cherry picked from commit 56c5da8ed4097018300c1cf284ce7308acd7ece4) --- doc/lease-script.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/doc/lease-script.md b/doc/lease-script.md index 0ad67fb..16fc73e 100644 --- a/doc/lease-script.md +++ b/doc/lease-script.md @@ -9,13 +9,19 @@ Run other scripts on DHCP lease Description ----------- -This script is supposed to run from dhcp server as lease script. Currently -it does: +This script is supposed to run from dhcp server as lease script. On a dhcp +lease it runs each script containing the following line, where `##` is a +decimal number for ordering: -* run [collect-wireless-mac](collect-wireless-mac.md) -* run [dhcp-lease-comment](dhcp-lease-comment.md) -* run [dhcp-to-dns](dhcp-to-dns.md) -* run [hotspot-to-wpa](hotspot-to-wpa.md) + # provides: lease-script, order=## + +Currently it runs if available, in order: + +* [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 ----------------------------- -- cgit v1.2.3-70-g09d2