aboutsummaryrefslogtreecommitdiffstats
path: root/ospf-to-leds.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-15 21:31:19 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-30 00:52:21 +0100
commitcbdfa98576195969b8b6284127ab120b84859f13 (patch)
tree7c1b3cd4e52b427ac50ba2b4ce4acd5ce4ce4aff /ospf-to-leds.rsc
parent45fda69d3be56ba7d7b320125a9d2613ff7a1b0f (diff)
ospf-to-leds: use :jobname to get script name
Diffstat (limited to 'ospf-to-leds.rsc')
-rw-r--r--ospf-to-leds.rsc4
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; }