mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-31 08:14:56 +02:00
lease-script: match on word boundary
This commit is contained in:
parent
8b8bc7cf2d
commit
46e48497d5
1 changed files with 1 additions and 2 deletions
|
@ -33,8 +33,7 @@ $ScriptLock $0 false 10;
|
|||
}
|
||||
|
||||
:local RunOrder ({});
|
||||
|
||||
:foreach Script in=[ /system/script/find where source~("\n# provides: lease-script, ") ] do={
|
||||
:foreach Script in=[ /system/script/find where source~("\n# provides: lease-script\\b") ] do={
|
||||
:local ScriptVal [ /system/script/get $Script ];
|
||||
:local Store [ $ParseKeyValueStore [ $Grep ($ScriptVal->"source") ("\23 provides: lease-script, ") ] ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue