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 | 531957703542471a39f8df04d8d180d34ab47d1f (patch) | |
tree | db21a2df2b3a1514291e29a03550f120821fdec4 /check-health.rsc | |
parent | a43202326bf17eb2a14a5d9949c6025d940b4547 (diff) |
check-health: use :jobname to get script name
Diffstat (limited to 'check-health.rsc')
-rw-r--r-- | check-health.rsc | 4 |
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; } |