mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-08-03 01:34:47 +02:00
lease-script: modify the tag
This commit is contained in:
parent
c5d49b37f3
commit
623fd707c4
9 changed files with 10 additions and 10 deletions
|
@ -25,7 +25,7 @@
|
|||
$LogPrintExit2 debug $0 ("DHCP Server " . $leaseServerName . " " . \
|
||||
$State . "ed lease " . $leaseActIP . " to " . $leaseActMAC) false;
|
||||
|
||||
:foreach Script in=[ / system script find where source~("\n# provides: lease-script " . $State . "\n") ] do={
|
||||
:foreach Script in=[ / system script find where source~("\n# provides: lease-script, " . $State . "\n") ] do={
|
||||
:local ScriptName [ / system script get $Script name ];
|
||||
:if ([ :len [ / system script job find where script=$ScriptName ] ] < 2) do={
|
||||
:do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue