aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hotspot-to-wpa.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-06-23 22:30:34 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-06-28 11:26:51 +0200
commit16a551a0ee712b81dc267e50414ceee39d434edc (patch)
tree2061fce49039c6f0c0b71c4ab13289d38ebd35e2 /doc/hotspot-to-wpa.md
parent0c8bc60648c2b5629273bf64bce81c664470506c (diff)
hotspot-to-wpa-cleanup: drop hard-coded server name, find by commentchange-103
Diffstat (limited to 'doc/hotspot-to-wpa.md')
-rw-r--r--doc/hotspot-to-wpa.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/hotspot-to-wpa.md b/doc/hotspot-to-wpa.md
index 097cba4..5cbe22c 100644
--- a/doc/hotspot-to-wpa.md
+++ b/doc/hotspot-to-wpa.md
@@ -38,9 +38,11 @@ Create a scheduler:
/system/scheduler/add interval=1d name=hotspot-to-wpa-cleanup on-event="/system/script/run hotspot-to-wpa-cleanup;" start-time=startup;
-And add the lease script to your wpa interfaces' dhcp server:
+And add the lease script and matcher comment to your wpa interfaces' dhcp
+server. You can add more information to the comment, separated by comma. In
+this example the server is called `hotspot-to-wpa`.
- /ip/dhcp-server/set lease-script=lease-script [ find where name~"wpa" ];
+ /ip/dhcp-server/set lease-script=lease-script comment="hotspot-to-wpa=wpa" hotspot-to-wpa;
Configuration
-------------