mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-14 03:54:28 +02:00
check-routeros-update: lock against multiple invocation
This commit is contained in:
parent
dab04fd63e
commit
8f8130775f
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
|||
:global DeviceInfo;
|
||||
:global LogPrintExit2;
|
||||
:global ScriptFromTerminal;
|
||||
:global ScriptLock;
|
||||
:global SendNotification2;
|
||||
:global SymbolForNotification;
|
||||
:global VersionToNum;
|
||||
|
@ -34,6 +35,8 @@
|
|||
:error "Waiting for system to reboot.";
|
||||
}
|
||||
|
||||
$ScriptLock $0;
|
||||
|
||||
$WaitFullyConnected;
|
||||
|
||||
:if ([ :len [ / system package find where name="wireless" disabled=no ] ] > 0) do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue