diff options
Diffstat (limited to 'hotspot-to-wpa')
-rw-r--r-- | hotspot-to-wpa | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hotspot-to-wpa b/hotspot-to-wpa index a9fa7d9..8603d56 100644 --- a/hotspot-to-wpa +++ b/hotspot-to-wpa @@ -13,7 +13,7 @@ :local Date [ / system clock get date ]; :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 ([ :len [ / caps-man access-list find where comment="--- hotspot-to-wpa above ---" disabled ] ] = 0) do={ / 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; } |