mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-10 18:14:29 +02:00
hotspot-to-wpa-cleanup: use :jobname to get script name
This commit is contained in:
parent
9cf536f891
commit
79660f10db
4 changed files with 5 additions and 6 deletions
|
@ -4,13 +4,14 @@
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||||
#
|
#
|
||||||
# provides: lease-script, order=80
|
# provides: lease-script, order=80
|
||||||
|
# requires RouterOS, version=7.12
|
||||||
#
|
#
|
||||||
# manage and clean up private WPA passphrase after hotspot login
|
# manage and clean up private WPA passphrase after hotspot login
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/hotspot-to-wpa.md
|
# https://git.eworm.de/cgit/routeros-scripts/about/doc/hotspot-to-wpa.md
|
||||||
#
|
#
|
||||||
# !! Do not edit this file, it is generated from template!
|
# !! Do not edit this file, it is generated from template!
|
||||||
|
|
||||||
:local 0 "hotspot-to-wpa-cleanup.capsman";
|
:local 0 [ :jobname ];
|
||||||
:global GlobalFunctionsReady;
|
:global GlobalFunctionsReady;
|
||||||
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,7 @@
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||||
#
|
#
|
||||||
# provides: lease-script, order=80
|
# provides: lease-script, order=80
|
||||||
# NOT /caps-man/ #
|
|
||||||
# requires RouterOS, version=7.12
|
# requires RouterOS, version=7.12
|
||||||
# NOT /caps-man/ #
|
|
||||||
#
|
#
|
||||||
# manage and clean up private WPA passphrase after hotspot login
|
# manage and clean up private WPA passphrase after hotspot login
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/hotspot-to-wpa.md
|
# https://git.eworm.de/cgit/routeros-scripts/about/doc/hotspot-to-wpa.md
|
||||||
|
@ -14,7 +12,7 @@
|
||||||
# !! This is just a template to generate the real script!
|
# !! This is just a template to generate the real script!
|
||||||
# !! Pattern '%TEMPL%' is replaced, paths are filtered.
|
# !! Pattern '%TEMPL%' is replaced, paths are filtered.
|
||||||
|
|
||||||
:local 0 "hotspot-to-wpa-cleanup%TEMPL%";
|
:local 0 [ :jobname ];
|
||||||
:global GlobalFunctionsReady;
|
:global GlobalFunctionsReady;
|
||||||
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# !! Do not edit this file, it is generated from template!
|
# !! Do not edit this file, it is generated from template!
|
||||||
|
|
||||||
:local 0 "hotspot-to-wpa-cleanup.wifi";
|
:local 0 [ :jobname ];
|
||||||
:global GlobalFunctionsReady;
|
:global GlobalFunctionsReady;
|
||||||
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# !! Do not edit this file, it is generated from template!
|
# !! Do not edit this file, it is generated from template!
|
||||||
|
|
||||||
:local 0 "hotspot-to-wpa-cleanup.wifiwave2";
|
:local 0 [ :jobname ];
|
||||||
:global GlobalFunctionsReady;
|
:global GlobalFunctionsReady;
|
||||||
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue