aboutsummaryrefslogtreecommitdiffstats
path: root/hotspot-to-wpa.wifiwave2.rsc
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
commit9cf536f89172565a112c629f257bb5ab06e37aac (patch)
treea558f18d4b14a1cea099f06fda4a0f6747ae863f /hotspot-to-wpa.wifiwave2.rsc
parent7d47963c7a6335dfe1847766e67eeef28378b64b (diff)
hotspot-to-wpa: use :jobname to get script name
Diffstat (limited to 'hotspot-to-wpa.wifiwave2.rsc')
-rw-r--r--hotspot-to-wpa.wifiwave2.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/hotspot-to-wpa.wifiwave2.rsc b/hotspot-to-wpa.wifiwave2.rsc
index 0c12d39..751c1bf 100644
--- a/hotspot-to-wpa.wifiwave2.rsc
+++ b/hotspot-to-wpa.wifiwave2.rsc
@@ -3,12 +3,14 @@
# Copyright (c) 2019-2024 Christian Hesse <mail@eworm.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
+# requires RouterOS, version=7.12
+#
# add private WPA passphrase after hotspot login
# https://git.eworm.de/cgit/routeros-scripts/about/doc/hotspot-to-wpa.md
#
# !! Do not edit this file, it is generated from template!
-:local 0 "hotspot-to-wpa.wifiwave2";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }