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 | c9fcd3419f19f93f98744a5cfb9890a3201a4e0c (patch) | |
tree | 6f24b340376bee433e8d4d17646a6fa9f69f4185 /firmware-upgrade-reboot.rsc | |
parent | 6c52bd692b3892634275ac4b57e98fba3c146e18 (diff) |
firmware-upgrade-reboot: use :jobname to get script name
Diffstat (limited to 'firmware-upgrade-reboot.rsc')
-rw-r--r-- | firmware-upgrade-reboot.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware-upgrade-reboot.rsc b/firmware-upgrade-reboot.rsc index 5c5c14f..adcea73 100644 --- a/firmware-upgrade-reboot.rsc +++ b/firmware-upgrade-reboot.rsc @@ -3,10 +3,12 @@ # Copyright (c) 2022-2024 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # +# requires RouterOS, version=7.12 +# # install firmware upgrade, and reboot # https://git.eworm.de/cgit/routeros-scripts/about/doc/firmware-upgrade-reboot.md -:local 0 "firmware-upgrade-reboot"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |