diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-15 21:31:18 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-30 00:52:21 +0100 |
commit | 02d8455a8709eb219b097bf1c0aed97495cfe92c (patch) | |
tree | 1ab9b5045225b2f88972fa55cce4613a116113ba /collect-wireless-mac.template.rsc | |
parent | 3412ab771f62e757ae62f48626e0ad0c4255c74d (diff) |
collect-wireless-mac: use :jobname to get script name
Diffstat (limited to 'collect-wireless-mac.template.rsc')
-rw-r--r-- | collect-wireless-mac.template.rsc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/collect-wireless-mac.template.rsc b/collect-wireless-mac.template.rsc index df95f52..c5420f1 100644 --- a/collect-wireless-mac.template.rsc +++ b/collect-wireless-mac.template.rsc @@ -4,6 +4,7 @@ # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # # provides: lease-script, order=40 +# requires RouterOS, version=7.12 # # collect wireless mac adresses in access list # https://git.eworm.de/cgit/routeros-scripts/about/doc/collect-wireless-mac.md @@ -11,7 +12,7 @@ # !! This is just a template to generate the real script! # !! Pattern '%TEMPL%' is replaced, paths are filtered. -:local 0 "collect-wireless-mac%TEMPL%"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |