diff options
author | Christian Hesse <mail@eworm.de> | 2024-01-29 22:45:38 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-30 00:52:21 +0100 |
commit | 777b2ba7a2ba5e21cee0a1f0a899309ff82e65bb (patch) | |
tree | 5f86d1f313f4b915f7bf7c1a9ab709e0e08874e1 /lease-script.rsc | |
parent | 35b468b8275c492264d0d5e2ff5bfef17da940ea (diff) | |
parent | b679eefcf73a8901c44a61494b419969ff4ee468 (diff) |
Merge branch 'jobname' into nextrouteros-7.12-3
Diffstat (limited to 'lease-script.rsc')
-rw-r--r-- | lease-script.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lease-script.rsc b/lease-script.rsc index 35fa7b4..aae74f8 100644 --- a/lease-script.rsc +++ b/lease-script.rsc @@ -3,10 +3,12 @@ # Copyright (c) 2013-2024 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # +# requires RouterOS, version=7.12 +# # run scripts on DHCP lease # https://git.eworm.de/cgit/routeros-scripts/about/doc/lease-script.md -:local 0 "lease-script"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |