packages-update: use :jobname to get script name

This commit is contained in:
Christian Hesse 2023-11-15 21:31:19 +01:00
parent daa080b702
commit d45d45cefe

View file

@ -6,7 +6,7 @@
# 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; }