hotspot-to-wpa: unbreak options

This commit is contained in:
Christian Hesse 2020-03-09 13:46:06 +01:00
parent 8992b18166
commit 1f8c22b23d

View file

@ -12,7 +12,7 @@
: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={
/ 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;
}
:local PlaceBefore [ / caps-man access-list find where comment="--- hotspot-to-wpa above ---" disabled ];