aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-15 21:31:18 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-30 00:52:21 +0100
commitafd779c0bb21e47691998372a0316d0122a11035 (patch)
tree11aa051b0c44070c32344c9a20ef2bc424c0b1c8
parentc9fcd3419f19f93f98744a5cfb9890a3201a4e0c (diff)
fw-addr-lists: use :jobname to get script name
-rw-r--r--fw-addr-lists.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/fw-addr-lists.rsc b/fw-addr-lists.rsc
index 50fe41c..bc294d1 100644
--- a/fw-addr-lists.rsc
+++ b/fw-addr-lists.rsc
@@ -3,10 +3,12 @@
# Copyright (c) 2023-2024 Christian Hesse <mail@eworm.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
+# requires RouterOS, version=7.12
+#
# download, import and update firewall address-lists
# https://git.eworm.de/cgit/routeros-scripts/about/doc/fw-addr-lists.md
-:local 0 "fw-addr-lists";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }