diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-15 21:31:18 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-30 00:52:21 +0100 |
commit | 9cf536f89172565a112c629f257bb5ab06e37aac (patch) | |
tree | a558f18d4b14a1cea099f06fda4a0f6747ae863f /hotspot-to-wpa.capsman.rsc | |
parent | 7d47963c7a6335dfe1847766e67eeef28378b64b (diff) |
hotspot-to-wpa: use :jobname to get script name
Diffstat (limited to 'hotspot-to-wpa.capsman.rsc')
-rw-r--r-- | hotspot-to-wpa.capsman.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hotspot-to-wpa.capsman.rsc b/hotspot-to-wpa.capsman.rsc index 8ea2e6b..db3f430 100644 --- a/hotspot-to-wpa.capsman.rsc +++ b/hotspot-to-wpa.capsman.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.capsman"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |