mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
hotspot-to-wpa: unbreak options
This commit is contained in:
parent
8992b18166
commit
1f8c22b23d
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
:local PassWord [ / ip hotspot user get [ find where name=$UserName ] password ];
|
:local PassWord [ / ip hotspot user get [ find where name=$UserName ] password ];
|
||||||
|
|
||||||
:if ([ / caps-man access-list print count-only where comment="--- hotspot-to-wpa above ---" disabled ] = 0) do={
|
:if ([ / caps-man access-list print count-only where comment="--- hotspot-to-wpa above ---" disabled ] = 0) do={
|
||||||
/ caps-man access-list add comment="--- hotspot-to-wpa above ---" disabled;
|
/ caps-man access-list add comment="--- hotspot-to-wpa above ---" disabled=yes;
|
||||||
$LogPrintExit warning "Added disabled access-list entry with comment '--- hotspot-to-wpa above ---'." false;
|
$LogPrintExit warning "Added disabled access-list entry with comment '--- hotspot-to-wpa above ---'." false;
|
||||||
}
|
}
|
||||||
:local PlaceBefore [ / caps-man access-list find where comment="--- hotspot-to-wpa above ---" disabled ];
|
:local PlaceBefore [ / caps-man access-list find where comment="--- hotspot-to-wpa above ---" disabled ];
|
||||||
|
|
Loading…
Reference in a new issue