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 | 3f8d680fe8dfeea8d04ce6b67c74163306326b89 (patch) | |
tree | b994cb4af67b9f9b250f754680a13d212eef13b0 /daily-psk.template.rsc | |
parent | 02d8455a8709eb219b097bf1c0aed97495cfe92c (diff) |
daily-psk.capsman: use :jobname to get script name
Diffstat (limited to 'daily-psk.template.rsc')
-rw-r--r-- | daily-psk.template.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/daily-psk.template.rsc b/daily-psk.template.rsc index 1111b64..d1abce2 100644 --- a/daily-psk.template.rsc +++ b/daily-psk.template.rsc @@ -4,13 +4,15 @@ # Michael Gisbers <michael@gisbers.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # +# requires RouterOS, version=7.12 +# # update daily PSK (pre shared key) # https://git.eworm.de/cgit/routeros-scripts/about/doc/daily-psk.md # # !! This is just a template to generate the real script! # !! Pattern '%TEMPL%' is replaced, paths are filtered. -:local 0 "daily-psk%TEMPL%"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |