mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-21 09:25:42 +02:00
check-lte-firmware-upgrade: lock the script
This commit is contained in:
parent
e0714bdfff
commit
d2de9be439
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@
|
||||||
|
|
||||||
:global SentLteFirmwareUpgradeNotification;
|
:global SentLteFirmwareUpgradeNotification;
|
||||||
|
|
||||||
|
:global ScriptLock;
|
||||||
|
|
||||||
|
$ScriptLock $0;
|
||||||
|
|
||||||
:if ([ :typeof $SentLteFirmwareUpgradeNotification ] != "array") do={
|
:if ([ :typeof $SentLteFirmwareUpgradeNotification ] != "array") do={
|
||||||
:global SentLteFirmwareUpgradeNotification ({});
|
:global SentLteFirmwareUpgradeNotification ({});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue