diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-15 21:31:19 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-30 00:52:21 +0100 |
commit | cbdfa98576195969b8b6284127ab120b84859f13 (patch) | |
tree | 7c1b3cd4e52b427ac50ba2b4ce4acd5ce4ce4aff | |
parent | 45fda69d3be56ba7d7b320125a9d2613ff7a1b0f (diff) |
ospf-to-leds: use :jobname to get script name
-rw-r--r-- | ospf-to-leds.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ospf-to-leds.rsc b/ospf-to-leds.rsc index 416fc0e..47e1d41 100644 --- a/ospf-to-leds.rsc +++ b/ospf-to-leds.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 +# # visualize ospf instance state via leds # https://git.eworm.de/cgit/routeros-scripts/about/doc/ospf-to-leds.md -:local 0 "ospf-to-leds"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |