aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-15 21:31:18 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-30 00:52:21 +0100
commit531957703542471a39f8df04d8d180d34ab47d1f (patch)
treedb21a2df2b3a1514291e29a03550f120821fdec4
parenta43202326bf17eb2a14a5d9949c6025d940b4547 (diff)
check-health: use :jobname to get script name
-rw-r--r--check-health.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/check-health.rsc b/check-health.rsc
index 52c22ca..5c28d73 100644
--- a/check-health.rsc
+++ b/check-health.rsc
@@ -3,10 +3,12 @@
# Copyright (c) 2019-2024 Christian Hesse <mail@eworm.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
+# requires RouterOS, version=7.12
+#
# check for RouterOS health state
# https://git.eworm.de/cgit/routeros-scripts/about/doc/check-health.md
-:local 0 "check-health";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }