aboutsummaryrefslogtreecommitdiffstats
path: root/lease-script.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'lease-script.rsc')
-rw-r--r--lease-script.rsc4
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; }