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 | 08bd884810f04d64391a5d52dbada17b8c127e3a (patch) | |
tree | a3822dd0b0eb046cc8737c7fb01471f373d42f33 /check-lte-firmware-upgrade.rsc | |
parent | 531957703542471a39f8df04d8d180d34ab47d1f (diff) |
check-lte-firmware-upgrade: use :jobname to get script name
Diffstat (limited to 'check-lte-firmware-upgrade.rsc')
-rw-r--r-- | check-lte-firmware-upgrade.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/check-lte-firmware-upgrade.rsc b/check-lte-firmware-upgrade.rsc index d6bda72..6a9074a 100644 --- a/check-lte-firmware-upgrade.rsc +++ b/check-lte-firmware-upgrade.rsc @@ -3,10 +3,12 @@ # Copyright (c) 2018-2024 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # +# requires RouterOS, version=7.12 +# # check for LTE firmware upgrade, send notification # https://git.eworm.de/cgit/routeros-scripts/about/doc/check-lte-firmware-upgrade.md -:local 0 "check-lte-firmware-upgrade"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |