mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
packages-update: lock against multiple invocation
This commit is contained in:
parent
3db466f476
commit
7365bfa525
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@
|
||||||
|
|
||||||
:global DownloadPackage;
|
:global DownloadPackage;
|
||||||
:global ScriptFromTerminal;
|
:global ScriptFromTerminal;
|
||||||
|
:global ScriptLock;
|
||||||
|
|
||||||
|
$ScriptLock "packages-update";
|
||||||
|
|
||||||
:local Update [ / system package update get ];
|
:local Update [ / system package update get ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue