mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-04 10:15:05 +02:00
global-functions: $ScriptLock: do not exit from global function
This commit is contained in:
parent
56e97dd60c
commit
1e8918fdaa
57 changed files with 172 additions and 61 deletions
|
@ -22,7 +22,9 @@
|
|||
:global ParseKeyValueStore;
|
||||
:global ScriptLock;
|
||||
|
||||
$ScriptLock $ScriptName false 10;
|
||||
:if ([ $ScriptLock $ScriptName 10 ] = false) do={
|
||||
:return false;
|
||||
}
|
||||
|
||||
:local DHCPServers ({});
|
||||
:foreach Server in=[ /ip/dhcp-server/find where comment~"hotspot-to-wpa" ] do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue