Dobry vecer uz dlksiu dobu riesim nasledovny problem a to nasledovne:
upravil som tento script funguje nasledovne s textaku ipaddress.txt mi do access listu nakopiruje ale iba jednu mac viac nechce poradte mikde mozem mat chybu.
## Generic IP address list input
## Based on a script written by Sam Norris, ChangeIP.com 2008
## Edited by Andrew Cox, AccessPlus.com.au 2008
( [/file get > 0 ) do={
# Remove exisiting addresses from the current Address list
# /ip firewall address-list remove
content [/file get ;
contentLen ;
lineEnd 0;
line "";
lastEnd 0;
{
lineEnd ;
line ;
lastEnd ( $lineEnd + 1 ) ;
#If the line doesn't start with a hash then process and add to the list
( != "#" ) do={
entry
( > 0 ) do={
/interface wireless access-list add mac-address=$entry }}} while ($lineEnd < $contentLen)
}