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 | 4653c94f3f735d439b9ce9448644392aaa41a48b (patch) | |
tree | 4cb512b69fe7abbe669ca511ff92c634e1ae7d09 /log-forward.rsc | |
parent | b4d666ef1d20dc833230245e09cd9c18a840a2cf (diff) |
log-forward: use :jobname to get script name
Diffstat (limited to 'log-forward.rsc')
-rw-r--r-- | log-forward.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/log-forward.rsc b/log-forward.rsc index 1067184..a789f25 100644 --- a/log-forward.rsc +++ b/log-forward.rsc @@ -3,10 +3,12 @@ # Copyright (c) 2020-2024 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # +# requires RouterOS, version=7.12 +# # forward log messages via notification # https://git.eworm.de/cgit/routeros-scripts/about/doc/log-forward.md -:local 0 "log-forward"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |