diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-15 21:31:19 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-30 00:52:21 +0100 |
commit | 322466fd00c54410f34f1f370b038ba182cf3833 (patch) | |
tree | 816d33e5e93a335127e46e7be199498919839948 /packages-update.rsc | |
parent | cbdfa98576195969b8b6284127ab120b84859f13 (diff) |
packages-update: use :jobname to get script name
Diffstat (limited to 'packages-update.rsc')
-rw-r--r-- | packages-update.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages-update.rsc b/packages-update.rsc index 552a682..a7ddc19 100644 --- a/packages-update.rsc +++ b/packages-update.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 +# # download packages and reboot for installation # https://git.eworm.de/cgit/routeros-scripts/about/doc/packages-update.md -:local 0 "packages-update"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |