Commit graph

16 commits

Author SHA1 Message Date
Christian Hesse
f7b96aa3e9 hotspot-to-wpa-cleanup: use $ExitError to indicate unintentional error 2024-12-09 11:49:50 +01:00
Christian Hesse
a224fbc424 hotspot-to-wpa-cleanup: revert display of timeout value...
... as the timeout is a time value, and showing "4w00:00:00" (with lots
of zeros) is not any better. 😜

This reverts commit f1533b8962.
2024-11-13 08:59:30 +01:00
Christian Hesse
e5c3aeb5cd hotspot-to-wpa-cleanup: prepare real timeout value in variable...
... to make sure it is not re-calculated for every single lease.
2024-11-13 08:57:05 +01:00
Christian Hesse
ae655646ba hotspot-to-wpa-cleanup: clean up daily only 2024-11-12 18:02:26 +01:00
Christian Hesse
f1533b8962 hotspot-to-wpa-cleanup: use the timeout in message...
... not the actual value.
2024-11-12 17:53:30 +01:00
Christian Hesse
60aa553219 hotspot-to-wpa-cleanup: only match access-list with mac-address 2024-09-25 11:01:40 +02:00
Christian Hesse
6fbafe76ba bump RouterOS requirement for all scripts and modules...
... now that global-functions requires RouterOS 7.14 anyway.
2024-07-16 13:50:22 +02:00
Christian Hesse
009674b5bc bump RouterOS requirement for all scripts and modules...
... now that global-functions requires RouterOS 7.13 anyway.
2024-04-07 22:51:24 +02:00
Christian Hesse
d93ffb9cb2 hotspot-to-wpa-cleanup: switch to $LogPrint 2024-03-12 20:37:57 +01:00
Christian Hesse
b622f47d65 hotspot-to-wpa-cleanup: drop main function, use :do with on-error 2024-03-12 15:27:15 +01:00
Christian Hesse
1e8918fdaa global-functions: $ScriptLock: do not exit from global function 2024-03-12 15:27:15 +01:00
Christian Hesse
2bf02cf085 hotspot-to-wpa-cleanup: move code into function 2024-03-04 17:04:45 +01:00
Christian Hesse
79660f10db hotspot-to-wpa-cleanup: use :jobname to get script name 2024-01-30 00:52:21 +01:00
Christian Hesse
9a73fc526f update copyright for 2024 2024-01-01 15:25:25 +01:00
Christian Hesse
16844b935a hotspot-to-wpa-cleanup: show last-seen, not timeout 2023-08-29 08:58:50 +02:00
Christian Hesse
6552b0c02d hotspot-to-wpa: convert to template, split capsman & wifiwave2 2023-08-09 16:30:18 +02:00